The security team says "Kubernetes Secrets are only base64". How do you respond and what do you change?

IntermediateScenarioSecurity incidents
Answer

Situation read → They're right that base64 is encoding, not encryption. The real risks are etcd storage, who can read Secrets via RBAC, and Secrets sitting in Git.

What I'd do →

  1. At rest: enable envelope encryption of Secrets with KMS (EKS supports this with a customer-managed key).
  2. Access: restrict get/list on Secrets via RBAC; list returns values too, so it's not "just names".
  3. Source of truth: keep secrets in AWS Secrets Manager or Vault, and sync them with External Secrets Operator. Never commit them to Git; if you must keep them in Git, use Sealed Secrets or SOPS.
  4. In pods: mount as files rather than env vars where possible, so they don't leak in crash dumps or env output.
  5. Audit: log Secret reads in the audit policy.

Why → Encryption at rest plus tight RBAC plus an external source covers storage, access and lifecycle.

Interview tip → Point out that list on secrets exposes values; it's a common RBAC mistake.

All Real-World Interview questions Roadmap: Interview readiness

More on Security incidents