Interview Prep/DevSecOps/Secrets Management Architecture

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.

All DevSecOps questions Roadmap: Supply chain, secrets & identity

More on Secrets Management Architecture