Delen via


FabricClient.SecretStoreClient.GetSecretVersionsAsync Method

Definition

Asynchronously get secret version from Central Secret store.

public System.Threading.Tasks.Task<System.Fabric.SecretStore.SecretReference[]> GetSecretVersionsAsync (System.Fabric.SecretStore.SecretReference[] secretReferences, TimeSpan timeout, System.Threading.CancellationToken cancellationToken);
member this.GetSecretVersionsAsync : System.Fabric.SecretStore.SecretReference[] * TimeSpan * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Fabric.SecretStore.SecretReference[]>
Public Function GetSecretVersionsAsync (secretReferences As SecretReference(), timeout As TimeSpan, cancellationToken As CancellationToken) As Task(Of SecretReference())

Parameters

secretReferences
SecretReference[]

List of secrets to set.

timeout
TimeSpan

Max time wait for the async operation to complete

cancellationToken
CancellationToken

The CancellationToken object that the operation is observing. It can be used to send a notification that the operation should be canceled. Note that cancellation is advisory and that the operation may still be completed even if it is canceled.

Returns

The task representing the asynchronous action.

Applies to