IKeyProviderGetKeyAsync Method
Gets the public part of a stored key
Namespace: InnerDrive.AzureAssembly: InnerDrive.Azure (in InnerDrive.Azure.dll) Version: 5.2.9017.0
Task<KeyVaultKey?> GetKeyAsync(
string name,
bool createIfNotFound = false,
string? version = null
)
- 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
TaskKeyVaultKeyKeyVaultKey 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.