Protect data and deliver secrets
Separate transport encryption, storage encryption, key authorization and credential rotation.
Protect data and deliver secrets
TLS protects data between endpoints. Encryption at rest protects stored data. With envelope encryption, a data key encrypts the payload and a KMS key protects the data key. Keep plaintext data keys in memory only as long as needed and store the encrypted data key with the ciphertext. An application that must encrypt before upload needs a client-side encryption design.
Use Secrets Manager when credentials need controlled retrieval and rotation. An application must pick up the replacement credential and handle stale cached values. For server certificates on supported managed endpoints, ACM can manage certificates and renewal when the validation requirements remain satisfied. In logs, redact sensitive fields before emitting records and restrict access to the retained event.
Worked case
Encrypted reports can be downloaded but the reader cannot decrypt their data keys. Which permissions matter?
Check your reasoning
Check the effective KMS decrypt permissions and applicable key policy for the reader, as well as the object read permission. Access to encrypted bytes alone does not grant use of the key.
Second worked case
A certificate protects an HTTPS listener. Does it protect a downloaded file after the client disconnects?
Check your reasoning
TLS ends at the endpoint. Apply appropriate storage or client-side encryption for retained data. Decide who controls the decryption key and audit its use. For internal certificates, check whether a private CA is appropriate.
AWS KMS data keys · Official DVA-C03 objectives for this domain
Related lesson in AWS Certified Solutions Architect – Associate. Keep data readable, private and recoverable.
Practice with the recording
An application encrypts data at rest but accidentally records confidential fields in diagnostic output. Which change addresses the disclosure?
Check your reasoning
Limit logging to approved fields and redact before data reaches the log sink. Review historical access and retention separately. Encryption protects stored bytes while authorized log readers can still see the plaintext fields the application emitted.
Practice the individual exam skills
- 2.2.1–2.2.5 Sketch where TLS terminates and who can decrypt the stored payload. Compare client-side and server-side encryption. Keep private keys protected when generating development credentials and verify the certificate issuer, hostname and chain separately from KMS authorization.
- 2.2.6–2.2.7 Separate a database password from personal information in a log event. Fetch the password at runtime with scoped access and rotation. Mask personal fields before log delivery, then verify which readers can retrieve historical records.
Protect data and deliver secrets quiz
Answer 3 questions. Check each answer for an explanation.