KeyVaultClientExtensions.GetDeletedKeyAsync(IKeyVaultClient, String, String, CancellationToken) Method

Definition

Retrieves the deleted key information plus its attributes. Authorization: Requires the keys/get permission.

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

Parameters

operations
IKeyVaultClient

The operations group for this extension method.

vaultBaseUrl
String

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

keyName
String

The name of the key

cancellationToken
CancellationToken

The cancellation token.

Returns

Task<DeletedKeyBundle>

Applies to