FabricClient.SecretStoreClient.GetSecretsAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Asynchronously get secrets from Central Secret store.
public System.Threading.Tasks.Task<System.Fabric.SecretStore.Secret[]> GetSecretsAsync (System.Fabric.SecretStore.SecretReference[] secretReferences, bool includeValue, TimeSpan timeout, System.Threading.CancellationToken cancellationToken);
member this.GetSecretsAsync : System.Fabric.SecretStore.SecretReference[] * bool * TimeSpan * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Fabric.SecretStore.Secret[]>
Public Function GetSecretsAsync (secretReferences As SecretReference(), includeValue As Boolean, timeout As TimeSpan, cancellationToken As CancellationToken) As Task(Of Secret())
Parameters
- secretReferences
- SecretReference[]
List of secrets to retrieve.
- includeValue
- Boolean
True to include the secret value in response
- timeout
- TimeSpan
Max time to 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
Azure SDK for .NET