Lingua

AttestationAdministrationClient.GetTcbBaselinesAsync Method

Definition

Retrieves the trusted computing base (TCB) baselines available to the attestation provider for the specified AttestationType.

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.Security.Attestation.TcbBaselineResult>> GetTcbBaselinesAsync(Azure.Security.Attestation.AttestationType attestationType, System.Threading.CancellationToken cancellationToken = default);
abstract member GetTcbBaselinesAsync : Azure.Security.Attestation.AttestationType * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Security.Attestation.TcbBaselineResult>>
override this.GetTcbBaselinesAsync : Azure.Security.Attestation.AttestationType * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Security.Attestation.TcbBaselineResult>>
Public Overridable Function GetTcbBaselinesAsync (attestationType As AttestationType, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of TcbBaselineResult))

Parameters

attestationType
AttestationType

The AttestationType whose baselines to retrieve.

cancellationToken
CancellationToken

Cancellation token used to cancel this operation.

Returns

The available baselines, including which one the provider's current policy selects.

Exceptions

The client targets a service version that does not support TCB baselines; see CanGetTcbBaselines.

Remarks

TCB baselines apply to SGX attestation; the service supports this operation for SgxEnclave and OpenEnclave. A policy selects a baseline by setting the x-ms-sgx-tcbidentifier claim to its TcbIdentifier. Requires V2025_06_01 or later.

Applies to