KeyVaultClient.deleteKey(String vaultBaseUrl, String keyName) 方法

定义

Deletes a key of any type from storage in Azure Key Vault. The delete key operation cannot be used to remove individual versions of a key. This operation removes the cryptographic material associated with the key, which means the key is not usable for Sign/Verify, Wrap/Unwrap or Encrypt/Decrypt operations. Authorization: Requires the keys/delete permission.

public KeyBundle deleteKey(String vaultBaseUrl, String keyName)

参数

vaultBaseUrl
String

The vault name, e.g. https://myvault.vault.azure.net

keyName
String

The name of the key

返回

the KeyBundle if successful.

适用于