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

Definition

Regenerates the specified key value for the given storage account.

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

Parameters

operations
IKeyVaultClient

The operations group for this extension method.

vaultBaseUrl
String

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

storageAccountName
String

The name of the storage account.

keyName
String

The storage account key name.

cancellationToken
CancellationToken

The cancellation token.

Returns

Task<StorageBundle>

Applies to