Interview Prep/DevSecOps/Secrets Management Architecture

What are the security trade-offs of syncing secrets into Kubernetes Secrets with External Secrets Operator?

AdvancedProductionSecrets Management Architecture
Answer

ESO is operationally simple (apps consume normal Secrets) but the secret now lives in etcd too. So you must:

  • Enable etcd encryption at rest with a KMS provider (EKS envelope encryption is on by default for new clusters since 2024 with AWS-owned keys; use a customer-managed key if required).
  • Restrict get/list/watch on Secrets with RBAC; list on secrets reveals every value.
  • Scope SecretStore per namespace (or use ClusterSecretStore with conditions), so a team cannot pull another team's secrets.
  • Audit API server access to Secrets.

If secrets must never touch etcd, use the CSI driver without sync or Vault Agent injection instead.

All DevSecOps questions Roadmap: Supply chain, secrets & identity

More on Secrets Management Architecture