What is the difference between encrypted secrets stored in the CI system and an external secret manager?
IntermediateProductionSecrets and Credentials
Answer
CI-stored secrets (GitHub secrets, GitLab variables, Jenkins credentials) are convenient but live in the CI vendor or controller, have limited audit and rotation features, and are copied per project. An external manager (Vault, AWS Secrets Manager, Azure Key Vault) gives central policy, detailed audit logs, versioning, automatic rotation and dynamic secrets, and CI only needs an identity to fetch from it. Use CI-stored secrets for low-sensitivity values and bootstrap, and a manager for anything important.
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