Interview Prep/Kubernetes/Security Hardening & Compliance

How do you handle secrets rotation without restarting every workload?

AdvancedProductionSecurity Hardening & Compliance
Answer

Mount secrets as files (not env vars) from the Secrets Store CSI driver with rotation enabled, or use Reloader (stakater) to trigger rolling restarts on Secret/ConfigMap change. Prefer dynamic short-lived credentials (Vault database engine, IAM auth for RDS) so rotation is continuous and a leaked secret expires quickly.

All Kubernetes questions Roadmap: Kubernetes networking, storage & scaling

More on Security Hardening & Compliance