The staged ladder is the right shape for this advice, especially putting SOPS + age before any managed store: it fixes the "secrets in git history" problem without adding a service to run. Two things I would add to the hygiene stage: the departing-teammate problem is usually worse than the laptop-count problem, so rotate on offboarding even before you have a vault, and add a pre-commit scan (gitleaks or similar) the same week, because the first real secret that lands in a public repo gets found by bots in minutes, not days. The CI/CD section is the one most small teams skip and should not.
Great points! I especially agree about rotating secrets during offboarding. You shouldn’t have to wait until you introduce a vault to establish that habit. Adding a pre-commit scanner like Gitleaks is also a practical, low-effort step that can prevent a costly mistake. And you're right about CI/CD — secrets management needs to cover the entire deployment pipeline, not just local development.
Out of curiosity, do you recommend running Gitleaks only as a pre-commit hook, or would you also run it in CI to catch anything that slips through?
Damiano Bianda
Full-stack developer: Nuxt, Vue, TypeScript, Python. Based in Ticino.
The staged ladder is the right shape for this advice, especially putting SOPS + age before any managed store: it fixes the "secrets in git history" problem without adding a service to run. Two things I would add to the hygiene stage: the departing-teammate problem is usually worse than the laptop-count problem, so rotate on offboarding even before you have a vault, and add a pre-commit scan (gitleaks or similar) the same week, because the first real secret that lands in a public repo gets found by bots in minutes, not days. The CI/CD section is the one most small teams skip and should not.