Interview Prep/Kubernetes/Security Hardening & Compliance

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.

All Kubernetes questions Roadmap: Kubernetes networking, storage & scaling

More on Security Hardening & Compliance