Interview Prep/Real-World Interview/CI/CD pipeline deep-dive

How did you handle secrets in your pipeline?

IntermediateBehavioralCI/CD pipeline deep-dive
Answer

Good answer looks like → "The pipeline needed very few secrets because of OIDC. The ones it did (a Sonar token, a Slack webhook) were environment-scoped GitHub secrets, only available to jobs in that environment. Application secrets never passed through CI; they lived in AWS Secrets Manager and were synced into the cluster by External Secrets Operator."

Follow-ups to expect → How do you stop a secret being printed in logs? What about secrets for PRs from forks?

Red flags → Secrets baked into images or passed as build args.

All Real-World Interview questions Roadmap: Interview readiness

More on CI/CD pipeline deep-dive