Don't put secrets in env files; rotate them like passwords.
Secrets Management: don't put secrets in env files
design for the day something breaks
Short-lived adds infra complexity.
Secrets (DB passwords, API keys, signing keys) deserve their own infrastructure. A secrets manager stores, rotates, and audits access; apps fetch via short-lived creds.
Short-lived credentials (15-min IAM, mTLS-bound JWT) limit blast radius.
Rotate on schedule and on incident; tooling must support graceful overlap.
Audit reads; alert on unusual access patterns.
DB credentials in env files everywhere.