Are Kubernetes Secrets secure by default?
BeginnerConceptSecrets Management and Identity
Answer
No. They are base64-encoded, not encrypted, and stored in etcd in plain form unless encryption at rest is enabled. Anyone with get secrets RBAC or etcd access can read them.
Harden: enable encryption at rest with a KMS provider (EncryptionConfiguration), restrict RBAC on secrets, avoid exposing them as env vars, enable audit logging for secret access, and consider an external store.
More on Secrets Management and Identity
Why is hard-coding secrets or putting them in environment variables a problem?BeginnerWhat does HashiCorp Vault provide?BeginnerExplain Vault's seal/unseal process.IntermediateWhat are Vault dynamic secrets and why are they better than static ones?IntermediateHow do Kubernetes workloads authenticate to Vault?AdvancedWhat is AWS Secrets Manager and how does it compare with SSM Parameter Store?Beginner