System Design
13. Security ArchitectureAnimated
Secrets Management
Storing keys and passwords safely.
The idea
A vault holds secrets, controls access, rotates them and audits use.
Watch it work
Press play, pause, or step through. Some animations have settings you can change.
- client
- gateway / proxy
- service
- cache
- data store
- queue / stream
Secrets never live in code or images.
- step:
- 1/4
- at:
- App
1/10
The green dot is a request moving through the system.
Step by step
- 1Store secrets in a vault
- 2Services authenticate to it
- 3They fetch short-lived secrets
- 4Rotation happens automatically
Where it is used
Any production system.
Watch out for
Never put secrets in code or images.