Decrypt

GET /?Action=Decrypt
Description

Decrypts ciphertext into plaintext.

Body parameter

Required: false
Name: DecryptRequest

Name Description Required Schema Default Example

CiphertextBlob

The ciphertext you want to decrypt.

true

string

EncryptionContext

A context for the decryption, in the form of one or more '{"string": "string"}' pairs.
You must specify the same context that was specified during encryption (if any), or the encryption will fail.

false

object

Responses
HTTP Code 200
HTTP Code Description Schema

200

DecryptResult

Response 200

Response 200

Name Description Required Schema Default Example

KeyId

The ID of the CMK.

false

string

Plaintext

The decrypted ciphertext, encoded in base64.

false

string