Explain it simpler
Encryption at rest means scrambling stored data so it is useless without a key. AWS KMS is a vault that creates and guards those keys, and it writes down every time a key is used. Some keys are made and looked after by AWS for you; they are easy but you cannot change who may use them. Others you create yourself, so you write the rules, can share them with other accounts, and can switch them off in an emergency. Because big files are slow to send to the vault, AWS uses a two-key trick: a small 'data key' locks the file, and the vault's master key locks the data key, like putting a house key in a lockbox. S3 offers several flavors of this, from fully automatic to 'bring your own key'.
Friday afternoon at Lakeshore Medical Group, Dana from compliance walks over with two questions from an auditor. First, can you prove exactly who used the keys that protect patient files last quarter? Second, if an account were compromised, could you cut off access to those files instantly, even for administrators? At the same time, the backup team reports that sharing encrypted database snapshots with the new backup account keeps failing with an error nobody understands. Everything is 'encrypted', but nobody can say with which keys, or who controls them. You pull up the KMS console and see a list of aliases starting with aws/. Is that good enough?
AWS Key Management Service (KMS) creates and controls the keys used to encrypt data at rest across AWS services such as S3, EBS, RDS, DynamoDB and Secrets Manager. KMS key material never leaves the service unencrypted; KMS performs cryptographic operations inside validated hardware security modules (HSMs), and every use of a key is recorded in AWS CloudTrail. That CloudTrail record is what lets you answer an auditor's question about who used a key and when. The exam expects you to know which kind of key to choose, how access to keys is controlled, and which S3 encryption option fits a requirement.
Keep reading for free
Create a free StudyToCert account to read the rest of this lesson: 7 more sections, 8 key terms, a real-world example, an exam tip and self-check questions. Every lesson, lab and practice test is free with an account.