共用方式為


IKeyEncryptionKeyResolver.ResolveAsync(String, CancellationToken) Method

Definition

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.

Applies to