KeyVaultKeyProviderCreateKeyAsync Method
Creates and stores a new key in Key Vault. The create key operation can be used to create any
key type in Azure Key Vault. If the named key already exists, Azure Key Vault creates a
new version of the key. This operation requires the keys/create permission.
Namespace: InnerDrive.AzureAssembly: InnerDrive.Azure (in InnerDrive.Azure.dll) Version: 5.2.9017.0
public Task<KeyVaultKey?> CreateKeyAsync(
string name,
KeyType keyType = default,
CreateKeyOptions? keyOptions = null
)
- name String
- The name of the key
- keyType KeyType (Optional)
- The type of key to create. See KeyType for valid values
- keyOptions CreateKeyOptions (Optional)
- Specific attributes with information about the key
TaskKeyVaultKeyA
KeyVaultKeyIKeyProviderCreateKeyAsync(String, KeyType, CreateKeyOptions)