IKeyEncryptionKeyResolver.ResolveAsync(String, CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves the key encryption key corresponding to the specified keyId.
public System.Threading.Tasks.Task<Azure.Core.Cryptography.IKeyEncryptionKey> ResolveAsync (string keyId, System.Threading.CancellationToken cancellationToken = default);
abstract member ResolveAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Core.Cryptography.IKeyEncryptionKey>
Public Function ResolveAsync (keyId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IKeyEncryptionKey)
Parameters
- keyId
- String
The key identifier of the key encryption key to retrieve.
- cancellationToken
- CancellationToken
A CancellationToken controlling the request lifetime.
Returns
The key encryption key corresponding to the specified keyId.