Interview Prep/CI/CD/Secrets and Credentials

What is a secret zero problem in CI and how do you solve it?

AdvancedProductionSecrets and Credentials
Answer

To fetch secrets from a vault the pipeline needs a credential, which itself is a secret. The fix is to use an identity the platform vouches for rather than a stored value: OIDC tokens issued by GitHub/GitLab, Kubernetes service account tokens, cloud instance or pod identity. The secret manager trusts the platform's identity provider and authorises by claims, so there is no static bootstrap secret to protect.

All CI/CD questions

More on Secrets and Credentials