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/watchon Secrets with RBAC;liston secrets reveals every value. - Scope
SecretStoreper namespace (or useClusterSecretStorewith 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.
More on Secrets Management Architecture
How would you design a secrets management architecture for a multi-cloud, multi-cluster company?AdvancedVault vs AWS Secrets Manager: how do you choose in production?IntermediateHow do you run Vault in production for high availability?AdvancedHow do you solve the "secret zero" problem?IntermediateHow do Vault dynamic database credentials work operationally, and what can go wrong?AdvancedHow does AWS Secrets Manager rotation work under the hood?Intermediate