Click or drag to resize

IKeyProviderCreateKey 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.Azure
Assembly: InnerDrive.Azure (in InnerDrive.Azure.dll) Version: 5.0.8475.0
Syntax
C#
Task<KeyVaultKey?> CreateKey(
	string name,
	KeyType keyType = default,
	CreateKeyOptions? keyOptions = null
)

Parameters

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

Return Value

TaskKeyVaultKey
A KeyVaultKey
See Also