crypto

Encrypt

Encrypts a plaintext.

post/kms-key/{id}/encrypt

Request

Path parameters

idstring uuid required

Request body

encryption-contextstring byte nullable

Base64-encoded bytes to be used as the Additional Authenticated Data (AAD) for encryption integrity.

plaintextstring byte required

The Base64-encoded plaintext data you wish to encrypt.

Response

Base64 encoded ciphertext

ciphertextstring byte required

The resulting Base64-encoded ciphertext after encryption.

Changes

No recorded changes to this operation across all 1 revision of this API.