Share via


KeyResolver.IKeyEncryptionKeyResolver.Resolve Method

Definition

Retrieves the key encryption key corresponding to the specified keyId.

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

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