IKeyProviderGetKey Method |
Gets the public part of a stored key
Namespace: InnerDrive.AzureAssembly: InnerDrive.Azure (in InnerDrive.Azure.dll) Version: 5.0.8475.0
Syntax Task<KeyVaultKey?> GetKey(
string name,
bool createIfNotFound = false,
string? version = null
)
Parameters
- name String
- The name of the key
- createIfNotFound Boolean (Optional)
- Creates a new key if the named key is not found
- version String (Optional)
- The version of the key
Return Value
TaskKeyVaultKeyKeyVaultKeyRemarks The get key operation is applicable to all key types. If the requested key is
symmetric, then no key is released in the response. This operation requires the keys/get
permission. If createIfNotFound is true, this operation
requires the keys/create permission.
See Also