KeyVaultClientExtensions.PurgeDeletedSecretAsync Method

Definition

Overloads

PurgeDeletedSecretAsync(IKeyVaultClient, String, CancellationToken)

Purges the deleted secret immediately.

PurgeDeletedSecretAsync(IKeyVaultClient, String, String, CancellationToken)

Permanently deletes the specified secret. aka purges the secret. Authorization: requires the secrets/purge permission.

PurgeDeletedSecretAsync(IKeyVaultClient, String, CancellationToken)

Purges the deleted secret immediately.

public static System.Threading.Tasks.Task PurgeDeletedSecretAsync (this Microsoft.Azure.KeyVault.IKeyVaultClient operations, string recoveryId, System.Threading.CancellationToken cancellationToken = null);
static member PurgeDeletedSecretAsync : Microsoft.Azure.KeyVault.IKeyVaultClient * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task

Parameters

operations
IKeyVaultClient
recoveryId
String

The recoveryId of the deleted secret, returned from deletion.

cancellationToken
CancellationToken

Optional cancellation token

Returns

Task

Task representing the asynchronous execution of this request.

Applies to

Product Introduced

PurgeDeletedSecretAsync(IKeyVaultClient, String, String, CancellationToken)

Permanently deletes the specified secret. aka purges the secret. Authorization: requires the secrets/purge permission.

public static System.Threading.Tasks.Task PurgeDeletedSecretAsync (this Microsoft.Azure.KeyVault.IKeyVaultClient operations, string vaultBaseUrl, string secretName, System.Threading.CancellationToken cancellationToken = null);
static member PurgeDeletedSecretAsync : Microsoft.Azure.KeyVault.IKeyVaultClient * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task

Parameters

operations
IKeyVaultClient

The operations group for this extension method.

vaultBaseUrl
String

The vault name, for example https://myvault.vault.azure.net.

secretName
String

The name of the secret

cancellationToken
CancellationToken

The cancellation token.

Returns

Task

Applies to

Product Introduced