Amazon KMS · Arazzo Workflow
Amazon KMS Envelope Encrypt and Decrypt
Version 1.0.0
Generate a data key, then round-trip ciphertext through encrypt and decrypt.
Provider
Workflows
envelope-encrypt-decrypt
Generate a data key, encrypt plaintext, then decrypt the ciphertext.
Generates a data key for client-side use, encrypts a plaintext payload with the KMS key, and decrypts the returned ciphertext to verify the full envelope cycle.
1
generateDataKey
GenerateDataKey
Generate a unique symmetric data key under the KMS key for client-side encryption, returning both the plaintext and encrypted forms.
2
encrypt
Encrypt
Encrypt the supplied plaintext payload directly with the KMS key and capture the resulting ciphertext blob.
3
decrypt
Decrypt
Decrypt the ciphertext produced by the encrypt step to verify the round trip returns the original plaintext.