KeyVaultClient.DecryptDataAsync Method

Definition

Decrypt data with key

public virtual System.Threading.Tasks.Task<Azure.Connectors.Sdk.KeyVault.Models.KeyDecryptOutput> DecryptDataAsync(string nameOfTheKey, Azure.Connectors.Sdk.KeyVault.Models.KeyDecryptInput input, System.Threading.CancellationToken cancellationToken = default);
abstract member DecryptDataAsync : string * Azure.Connectors.Sdk.KeyVault.Models.KeyDecryptInput * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.KeyVault.Models.KeyDecryptOutput>
override this.DecryptDataAsync : string * Azure.Connectors.Sdk.KeyVault.Models.KeyDecryptInput * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.KeyVault.Models.KeyDecryptOutput>
Public Overridable Function DecryptDataAsync (nameOfTheKey As String, input As KeyDecryptInput, Optional cancellationToken As CancellationToken = Nothing) As Task(Of KeyDecryptOutput)

Parameters

nameOfTheKey
String

Name of the key

input
KeyDecryptInput

The request body.

cancellationToken
CancellationToken

Cancellation token.

Returns

The Decrypt data with key response.

Remarks

Decrypt data using the latest version of a key. Output of this operation is typically classified as secret and can be visible in the run history.

Applies to