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.
More on CI/CD pipeline deep-dive
Walk me through your CI/CD pipeline stage by stage.BeginnerWhy did you choose GitHub Actions (or Jenkins, or GitLab CI) for this pipeline?IntermediateHow did you share pipeline logic across many repositories?IntermediateHow did your pipeline authenticate to AWS (or your cloud)?IntermediateHow did you tag and version container images?BeginnerHow did you promote a build from staging to production?Intermediate