KMS Flashcards
What is KMS?
Key Management Service. Easy to create and control encryption keys used to encrypt your data
What is CMK?
Customer Master Key
encrypt/decrypt data up to 4KB
Used to generate/encrypt/decrypt/data key
What is a data key
Used to encrypt/decrypt data (typically data over 4KB)
Is KMS a global or regional service?
regional
2 types of keys supported by KMS
Symmetric
Asymmetric
What are the key material origin options for KMS?
KMS
External (own key)
Custom Key Store (Cloud HSM)
What is Cloud HSM
Next level service to KMS. It is more money. It is mostly for customers in highly regulated environments. Own hardware.
KMS call to rotate key each year
aws kms enable-key-rotation
How can you audit which keys and resources are used and when in KMS?
KMS is integrated with CloudTrail
Envelope Encryption
encrypt plaintext data with data key
encrypt data key with master key
What permissions do you need from KMS to perform a multipart upload with encription using a CMK for S3?
kms: Decrypt
kme: GenerateDataKey*