How did your pipeline authenticate to AWS (or your cloud)?
IntermediateBehavioralCI/CD pipeline deep-dive
Answer
Good answer looks like → "OIDC federation. GitHub's OIDC provider is registered in IAM; each repo has a role whose trust policy checks token.actions.githubusercontent.com:aud is sts.amazonaws.com and sub matches repo:org/orders-api:environment:production. The workflow uses aws-actions/configure-aws-credentials with role-to-assume. No long-lived keys anywhere."
Follow-ups to expect → What stops a fork's PR from assuming the role? What permissions did the role have? What did you do before OIDC?
Red flags → AWS access keys stored as repo secrets with admin rights.
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 you tag and version container images?BeginnerHow did you promote a build from staging to production?IntermediateHow long did your pipeline take, and how did you make it faster?Intermediate