Skip to main content
RunBook Academy

← All checklists in Git, CI/CD & GitOps

Before deploymentgit-secrets-review

Secrets Review Checklist

15 items ·10 critical ·4 warn ·1 info

How to use this checklist

This is the gate before any pipeline, repository, controller, or runtime is allowed to handle secrets at all. It is deliberately unforgiving: there is no “we”ll rotate it later” for a credential that has been on a paste site for ten minutes.

Run it during onboarding of every new repository, every new pipeline, and every new environment, and again quarterly as part of the secrets audit. A secrets review that has not been re-run in 90 days should be treated as having never been run.

Sign-off

Every critical item must pass. A failing critical item blocks the secret-handling path from being trusted by the rest of the pipeline; it is not a note for later. Record the date, the reviewer, and the disposition of every item that did not pass.

Critical10 items

  1. gitleaks detect --source . --no-banner --redact --log-opts="--all"
  2. git ls-files | grep -E "(secret\.ya?ml|credentials|service-account\.json|\.env$)" | head; grep -RIn -E "(api_key|password|token|secret)\s*[:=]" apps/ overlays/ 2>/dev/null | head

Warning4 items

Info1 item