THE DEV BENCH
🔐

Secrets Management & DevSecOps

Handle secrets the way real DevSecOps teams do — Vault policies, Kubernetes Secrets & Sealed Secrets, SOPS/age encryption, KMS envelope encryption, rotation, and secret-scanning — with browser-graded drills (reusing the HCL & YAML parsers) plus focused flashcard decks.

Start here

Secrets Management Fundamentals18 cards — step 1 of 6

Flashcard decks

6 decks · 97 cards · in study order
1Secrets Management FundamentalsWhat a secret is, why they never belong in code or git, the threat model (secret sprawl, blast radius), and the core principles: least privilege, short-lived over long-lived, rotation, and dynamic secrets. The mental model behind every tool.182HashiCorp Vault EssentialsThe dominant secrets platform: seal/unseal, auth methods, secrets engines (KV v2, dynamic database, PKI, transit), HCL policies, leases & TTLs, tokens and AppRole, and dynamic secrets. Pairs with the /secrets Vault-policy HCL drills.183Kubernetes Secrets & Sealed SecretsHow Kubernetes actually handles secrets — the Secret object, why base64 is NOT encryption, etcd encryption at rest, RBAC, and the GitOps-safe options: Bitnami Sealed Secrets, the External Secrets Operator, and the Secrets Store CSI driver. Pairs with the /secrets k8s YAML drills.174SOPS, age & Encryption at RestEncrypting secret files you can safely commit to Git — Mozilla SOPS and age — plus the crypto model underneath: symmetric vs asymmetric, envelope encryption (DEK/KEK), and cloud KMS (AWS/GCP KMS, Azure Key Vault). Pairs with the /secrets SOPS YAML drills.165Secret Scanning & Hygiene (DevSecOps)Keeping secrets out of code and reacting when they slip: gitleaks & trufflehog, pre-commit hooks, .gitignore/.env discipline, purging git history, and the modern keyless pattern — OIDC workload identity so CI/CD needs no long-lived cloud keys at all.166Secrets Tools & Patterns ComparedThe big-picture map: Vault vs cloud secret managers vs Kubernetes-native vs file-encryption — what each is for, static vs dynamic, and how to pick. The synthesis deck that ties the area together.12

Secrets drills

12 drills
Write real Vault HCL policies, Kubernetes Secrets & Sealed Secrets, etcd encryption, SOPS-encrypted files, and keyless OIDC — graded live in your browser against the same HCL and YAML parsers as the config drills. The classic traps (the KV v2 data/ path, base64-is-not-encryption) included.

Curated resources

verified July 2026

Docs-first: the official tool docs and the OWASP cheat sheet are authoritative enough that adding secondary tutorials would only pad. No books or paid courses listed.

Official docs & tools

Encryption & secret scanning

Guides & best practices