共用方式為


IKeyEncryptionKeyResolver.Resolve(String, CancellationToken) Method

Definition

Retrieves the key encryption key corresponding to the specified keyId.

public Azure.Core.Cryptography.IKeyEncryptionKey Resolve (string keyId, System.Threading.CancellationToken cancellationToken = default);
abstract member Resolve : string * System.Threading.CancellationToken -> Azure.Core.Cryptography.IKeyEncryptionKey
Public Function Resolve (keyId As String, Optional cancellationToken As CancellationToken = Nothing) As 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