Interview Prep/Real-World Interview/Secrets, security & access

How did applications get updated secrets after rotation?

AdvancedBehavioralSecrets, security & access
Answer

Good answer looks like → "External Secrets refreshed every hour (refreshInterval: 1h). For env-var based apps we used Reloader to trigger a rolling restart when the Secret changed. For the Java services we mounted secrets as files and the app re-read them on connection failure. RDS rotation used the alternating-users strategy so the old credential stayed valid during the switch."

Follow-ups to expect → What happens to in-flight connections during rotation? Env vars versus mounted files?

Red flags → Rotation that silently breaks apps until someone restarts them.

All Real-World Interview questions Roadmap: Interview readiness

More on Secrets, security & access