Ravi Sir's Cards › AWS
KMS data keys
This revision card explains KMS data keys. It starts from the need that big files need envelope encryption. It describes generate-data-key — plain + encrypted. The how-to section notes encrypt locally, shred the plain key. An example on the card is disable before schedule-key-deletion.
Read card text
What this card says
Why do we need it?
Big files need envelope encryption.
What is it?
generate-data-key: plain + encrypted.
--key-spec AES_256
How to do it
Encrypt locally, shred the plain key.
Example
Disable before schedule-key-deletion.
--pending-window-in-days 7