Sdílet prostřednictvím


KeyResolver.IKeyEncryptionKeyResolver.ResolveAsync Method

Definition

Retrieves the key encryption key corresponding to the specified keyId.

System.Threading.Tasks.Task<Azure.Core.Cryptography.IKeyEncryptionKey> IKeyEncryptionKeyResolver.ResolveAsync (string keyId, System.Threading.CancellationToken cancellationToken);
abstract member Azure.Core.Cryptography.IKeyEncryptionKeyResolver.ResolveAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Core.Cryptography.IKeyEncryptionKey>
override this.Azure.Core.Cryptography.IKeyEncryptionKeyResolver.ResolveAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Core.Cryptography.IKeyEncryptionKey>
Function ResolveAsync (keyId As String, cancellationToken As CancellationToken) As Task(Of IKeyEncryptionKey) Implements IKeyEncryptionKeyResolver.ResolveAsync

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.

Implements

Applies to