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

Definition

Requests that a backup of the specified secret be downloaded to the client. Authorization: requires the secrets/backup permission.

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

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<BackupSecretResult>

Applies to