Skip to main content
POST
Decrypt

Authorizations

Authorization
string
header
required

The Authorization header expects a Bearer token.

Body

application/json
keyId
string
required

ID of the symmetric KMS key to use for decryption.

aadContext
string<byte>

Additional authenticated data, must be the same as was provided in the corresponding [SymmetricEncryptRequest]. Should be encoded with base64.

ciphertext
string<byte>

Ciphertext to be decrypted. Should be encoded with base64.

Response

200 - application/json

A successful response.

keyId
string

ID of the symmetric KMS key that was used for decryption.

plaintext
string<byte>

Decrypted plaintext.