FabricClient.SecretStoreClient.RemoveSecretsAsync 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 remove secrets from Central Secret store.
public System.Threading.Tasks.Task<System.Fabric.SecretStore.SecretReference[]> RemoveSecretsAsync (System.Fabric.SecretStore.SecretReference[] secretReferences, TimeSpan timeout, System.Threading.CancellationToken cancellationToken);
member this.RemoveSecretsAsync : System.Fabric.SecretStore.SecretReference[] * TimeSpan * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Fabric.SecretStore.SecretReference[]>
Public Function RemoveSecretsAsync (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
Azure SDK for .NET