你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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