awesome-everything RU
↑ Back to the climb

Security

Secrets management: free-recall review

Crux Free-recall prompts across the secrets unit — answer each in your own words first, then reveal the model answer and compare leak remediation, the ladder, dynamic creds, and envelope encryption.
Your altitude — climbing toward senior
ZeroJuniorMiddleSenior
You are at senior altitude — in orbit
◷ 14 min

Retrieval beats re-reading. For each prompt, say or write a full answer from memory before you open the model answer — the effort of recall is what makes the material stick when you are mid-incident at 2am.

Goal

Reconstruct the unit’s core mechanisms — why a committed secret is leaked, the maturity ladder, dynamic short-lived credentials, envelope encryption, and least privilege — without looking back at the lesson.

Recall before you leave
  1. 01
    A teammate committed a database password, then deleted the line and pushed. Explain why that does not fix the problem and what the actual remediation is.
  2. 02
    Walk a teammate up the secrets maturity ladder and explain why each rung is better, ending with why short-lived dynamic secrets are the goal.
  3. 03
    Explain envelope encryption with a KMS and why it scales better than calling KMS on the payload directly.
  4. 04
    What does least privilege mean for secrets specifically, and how do unique per-service identities change incident response?
  5. 05
    Distinguish encryption at rest from encryption in transit for secrets, and explain why a secret manager needs both plus access control.
  6. 06
    Why is the TTL on a dynamic secret described as 'the blast radius', and what is still long-lived even when you use dynamic secrets?
Recap

If you could reconstruct each answer from memory, you hold the unit’s spine: a committed secret is leaked and only rotation ends it because history is append-only; the maturity ladder runs hardcoded to .env to manager to dynamic short-lived creds; envelope encryption lets a KMS protect data at scale by wrapping a local data key; least privilege with unique identities bounds and attributes a breach; encryption at rest and in transit defend different threats and both pair with access control; and the TTL is the blast radius while the engine’s root credential remains the long-lived risk you must still guard.

Continue the climb ↑Secrets management: code and config reading
shortcuts expand
search
K
prev piece
k
next piece
j
cycle tier
t
this menu
?
sources2
expand
  1. 01
  2. 02

Trademarks belong to their respective owners. Editorial reference only.