How do you protect etcd and secrets inside the cluster?
IntermediateProductionSecurity Hardening & Compliance
Answer
Encrypt Secrets at rest with KMS, allow only the API servers to reach etcd over mutual TLS, isolate etcd on separate security groups, restrict get/list secrets RBAC (note that list reveals values), enable audit logging, and avoid exposing Secrets as environment variables since they leak into logs and crash dumps.
More on Security Hardening & Compliance
What is the baseline security checklist for a production cluster?BeginnerWhy should containers run as non-root?BeginnerHow should human access to the cluster be managed?BeginnerWhat is the purpose of image scanning in CI and in the cluster?BeginnerWhy not store secrets in Git or in ConfigMaps?BeginnerWhat is a default-deny NetworkPolicy baseline?Beginner