crypto

Decrypts an existing ciphertext using its original key material and re-encrypts the underlying plaintext using a specified KMS key or the latest key material of the same KMS Key.

post/kms-key/{id}/re-encrypt

Request

Path parameters

idstring uuid required

Request body

Response

Base64 encoded ciphertext

ciphertextstring byte required

The new Base64-encoded ciphertext block safely wrapped by the chosen destination key parameters.

Changes