A production DB password used by 30 services leaked, and it has to be rotated without an outage
IntermediateTroubleshootingCertificates, TLS and security incident response
Answer
Likely causes → A single shared static credential with no rotation design.
Diagnose → List every consumer: secret-manager access logs, DB connection logs (pg_stat_activity grouped by usename and client_addr), and code search.
Fix → Rotate with dual credentials. Create a new DB user or password, update the secret store, and roll the services in batches. Watch for authentication errors, then disable the old credential and check the DB logs for any remaining use. If active abuse is suspected, cut over immediately and accept some errors.
Prevent → One credential per service, managed rotation (Secrets Manager rotation or Vault dynamic credentials), and apps that reload credentials without a redeploy.
More on Certificates, TLS and security incident response
A cert-manager Certificate stays `Ready=False` and the Challenge shows `Waiting for HTTP-01 challenge propagation: wrong status code '404', expected '200'`IntermediateA DNS-01 challenge hangs forever with `DNS record for "acme.com" not yet propagated`, although `dig` from your laptop shows the TXT recordAdvancedIssuance fails with `429 urn:ietf:params:acme:error:rateLimited: too many certificates already issued`BeginnerA service calling another internal service fails with `x509: certificate signed by unknown authority`BeginnerAt 05:30 every client starts failing with `x509: certificate has expired or is not yet valid`BeginnerBrowsers load `https://api.acme.com` fine, but `curl` and Java clients fail with `unable to get local issuer certificate`Intermediate