Interview Prep/Kubernetes/Security Hardening & Compliance

Why not store secrets in Git or in ConfigMaps?

BeginnerProductionSecurity Hardening & Compliance
Answer

Git history is forever and widely readable, and ConfigMaps have no secret handling (no encryption options, shown in plaintext by describe-level access). Use a secret manager (AWS Secrets Manager, Vault) with External Secrets Operator or the Secrets Store CSI driver, or SOPS/Sealed Secrets if you must keep encrypted values in Git.

All Kubernetes questions Roadmap: Kubernetes networking, storage & scaling

More on Security Hardening & Compliance