Security & Identity
Secrets Manager, Parameter Store and KMS
A database password sits in a user-data script and in Git history, readable by anyone who can describe the instance. AWS has two places to keep it, one key service underneath both, and a second permission that people forget.
What is in the lesson
- A real situation where this goes wrong
- How it works, step by step
- A walkthrough with commands you can run
- How it fails in production, and how to tell
- Three quiz questions with explanations
Read this lessonFree. No account needed.
More in Security & Identity
- Hardening SSH: key-only login, bastion hosts and fail2banIntermediate · 6 min
Ten minutes after a VM gets a public IP, thousands of password guesses arrive. Keys, one config detail about file order, and a single entry point turn that noise into…
- Secret rotationIntermediate · 5 min
The orders database password is 14 months old and appears in three CI logs. Rotation replaces it on a schedule in two places at once, and the app has to keep up or the…
- External SecretsBeginner · 4 min
External Secrets syncs values from external secret managers.
- Envelope encryptionBeginner · 4 min
Envelope encryption encrypts data keys under master keys.
- KMS key policyBeginner · 4 min
KMS key policy governs access to cryptographic keys.