skip to content

Secrets Management

Where credentials, API keys and encryption keys live once you accept that they cannot sit in the repository or a config file: tooling for storing, issuing and rotating them. Interviewers raise it because secret sprawl and long-lived static keys are a finding on almost every security review.

on this pageshow

explore

questions

220 · 1 section

A secret store releases nothing until the caller authenticates, so what must already exist on a machine before its first fetch?

level: juniorimportance: must knowfreq 60%
basics
~20 s

Something the store already accepts must be on the machine before it can fetch anything: the bootstrap credential. Moving secrets into a store does not remove that first one. It only decides where it comes from and how long it lives.

open as a page

Why does a secret store treat an engineer signing in at a terminal differently from a service re-authenticating at restart?

level: juniorimportance: must knowfreq 66%
basics
~20 s

A person is present, can answer a prompt, and acts under a name the organisation already knows. A service authenticates with nobody watching, at any hour, so nothing in its path may wait for a human, and its name belongs to no individual.

open as a page

What do read, write and list rights over a secret store each permit, and why is store-wide read-only still too much?

level: juniorimportance: must knowfreq 64%
basics
~20 s

Read returns one named value, write creates or replaces a value, and list returns the names under a branch without their contents. Store-wide read-only is still too much because one compromised caller then reaches every credential the estate holds.

open as a page

A batch job is launched with its database password as a command-line argument — who on that host can read it?

level: juniorimportance: must knowfreq 60%
basics
~20 s

Any local account that can list processes, because the argument list is host-visible bookkeeping rather than private process memory. Copies also survive the run, in whatever records program executions and in the job definition that issued the line.

open as a page

Your team commits the rendered configuration file, warehouse password included, so a deploy can be reproduced — how do you keep that reproducibility?

level: juniorimportance: must knowfreq 58%
basics
~20 s

Commit the template, the rendering step and the identity of the value — its name in the store and the version delivered — and render the value on the host at deploy time. Reproducing a release needs the inputs, not the secret itself.

open as a page