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.
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