AWS Secrets Manager
Security and Identity · Learn this early
A safe for passwords and API keys.
Picture it as
A bank locker. Only the right person gets in, and there is a record of every visit.
What it actually does
Secrets Manager stores database passwords and keys encrypted. Your app fetches them at runtime instead of keeping them in code. It can rotate database passwords automatically.
Reach for it when
- Any password or key
- Anything you would hate to see on GitHub
Do not reach for it when
- Plain non secret settings. Parameter Store is cheaper.
One small example
The database password is fetched at startup, never written in the repo.
How you pay
Per secret per month, plus API calls.
Usually sits next to
The real source
This is a simplified summary written for people learning AWS. The official AWS documentation is the authoritative word and it wins wherever this page disagrees with it.