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.
More on Caching, Artifacts, Runners & ARC
How does `actions/cache` match keys and restore keys?IntermediateWhich caches can a branch restore from?AdvancedWhat are the cache size limits and eviction rules?BeginnerWhen should you use setup-* built-in caching instead of `actions/cache`?BeginnerWhy cache the package manager's download cache rather than `node_modules`?AdvancedHow do `actions/cache/restore` and `actions/cache/save` help?Advanced