How do you rotate a credential used by dozens of pipelines without downtime?
AdvancedProductionSecrets and Credentials
Answer
Use a two-phase or dual-credential approach: create the new credential, add it alongside the old (or keep both valid), update the secret store that pipelines read from, wait until all pipelines have run with the new value (monitor use of the old one in audit logs), then revoke the old. Centralising the secret in one store (instead of copied into 40 repos) makes this a single change. Better, remove the need: switch to OIDC or dynamic secrets.
More on Secrets and Credentials
Why are long-lived credentials in CI a problem, and what is the modern alternative?BeginnerHow do you manage application secrets from build to runtime?IntermediateHow do you store secrets in Git safely for GitOps?IntermediateHow do you detect secrets committed to a repo?BeginnerWhat do you do after a secret is committed to Git?IntermediateHow do you use HashiCorp Vault with CI/CD?Advanced