Interview Prep/Helm/Secrets & Security

Who can read secrets passed to Helm, and how do you reduce exposure?

IntermediateScenarioSecrets & Security
Answer

Situation read → Values containing secrets are stored in the release Secret, readable by anyone with get secrets in the namespace; they also appear in --debug output and CI logs.

What I'd do →

  1. Restrict get/list secrets via RBAC; developers get read access to other resources only.
  2. Use existingSecret references so values contain names, not secret values.
  3. Use External Secrets Operator so values never contain secrets.
  4. Never run --debug or helm get values in shared CI logs for prod.

Why → The release record is a copy of every secret you pass through Helm.

Interview tip → Knowing the release Secret leak path is a strong signal.

All Helm questions Roadmap: Helm

More on Secrets & Security