KeyVaultClientExtensions.RegenerateStorageAccountKeyAsync 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.
Regenerates the specified key value for the given storage account. This operation requires the storage/regeneratekey permission.
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 = default);
static member RegenerateStorageAccountKeyAsync : Microsoft.Azure.KeyVault.IKeyVaultClient * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.KeyVault.Models.StorageBundle>
<Extension()>
Public Function RegenerateStorageAccountKeyAsync (operations As IKeyVaultClient, vaultBaseUrl As String, storageAccountName As String, keyName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of 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.