Click or drag to resize

IKeyProviderGetKey Method

Gets the public part of a stored key

Namespace: InnerDrive.Azure
Assembly: InnerDrive.Azure (in InnerDrive.Azure.dll) Version: 5.0.8475.0
Syntax
C#
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

TaskKeyVaultKey
KeyVaultKey
Remarks
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