How do you stop CI/CD systems from becoming the biggest secret store in the company?
IntermediateProductionSecrets Management Architecture
Answer
Replace stored CI secrets with federation: OIDC to AWS/GCP/Azure, OIDC to Vault (jwt auth), short-lived registry tokens. For the remaining ones (third-party API keys), store them in the secrets manager and fetch at job time using OIDC, scoped to the job's environment. Inventory remaining CI secrets quarterly with a target to drive the number down; every long-lived CI secret is a future incident.
More on Secrets Management Architecture
How would you design a secrets management architecture for a multi-cloud, multi-cluster company?AdvancedVault vs AWS Secrets Manager: how do you choose in production?IntermediateHow do you run Vault in production for high availability?AdvancedHow do you solve the "secret zero" problem?IntermediateHow do Vault dynamic database credentials work operationally, and what can go wrong?AdvancedHow does AWS Secrets Manager rotation work under the hood?Intermediate