Interview Prep/GitHub Actions/Caching, Artifacts, Runners & ARC

How do you give ARC runner pods cloud access without static credentials?

AdvancedConceptCaching, Artifacts, Runners & ARC
Answer

Two layers. In workflows, prefer GitHub OIDC (id-token: write plus configure-aws-credentials), which works the same on ARC as on hosted runners and keeps per-repo trust policies. Alternatively, on EKS, attach an IAM role to the runner pods' service account (IRSA or EKS Pod Identity), but then every job on that scale set gets that role regardless of repo, so restrict the scale set to a runner group limited to trusted repos and workflows. Block the node instance metadata service from pods (IMDSv2 hop limit 1) so jobs cannot borrow the node role.

All GitHub Actions questions Roadmap: GitHub Actions

More on Caching, Artifacts, Runners & ARC