Secrets Management
Keep credentials out of code, images and logs, deliver them to workloads at runtime from a secrets manager, and rotate them without downtime.
3 objectives 6 steps about 125 min
Learn it step by step
Read the lessons in order, try the practice checks, then prove the skill with the knowledge check.
This skill page is a public outline. Its lessons and knowledge check appear here as subject-matter experts approve them.
Learning objectives
- Identify where secrets leak (repositories, images, CI logs, environment dumps) and respond to a leaked credential by revoking, rotating and scanning history.
- Store secrets in a manager (Vault or a cloud secret manager) and deliver them to applications and Kubernetes through External Secrets or SOPS-encrypted files under least-privilege access.
- Replace long-lived CI and cloud keys with OIDC workload identity federation and short-lived credentials, and rotate a secret without downtime.
Lesson plan
6 steps, about 125 min · 5 of 5 lessons available so far
- How secrets escape, and what to do when one does Concept · 20 min
- Lab: scan a repository and an image for leaked credentials Lab · 20 min
- Secret managers and the path from store to process Concept · 15 min
- Lab: sync a secret from a manager into Kubernetes Lab · 30 min
- Keyless CI and rotating credentials without an outage Worked example · 25 min
- Check: secrets design review Knowledge check · 6 questions
Practise it
Remove every static credential from your project: enable secret scanning and purge a planted key from history after revoking it, move the database password into Vault or a cloud secret manager synced into Kubernetes with External Secrets, switch CI deployments to OIDC federation with no stored cloud keys, and rotate the database password while the service keeps serving traffic.
References
Hard prerequisites
None.
Unlocks
Nothing depends on this skill yet.
On these roadmaps
Progress and evidence for this skill are shared across all of them.