Loading tutorials
sub, and why it is usually the claim your trust5 min readGITHUB_TOKEN. You should also know what a cloud IAM role is. The earlier chapters covered what the OIDC token is and what GitHub puts in it. This chapter covers how a job gets permiss5 min readpermissions block does, and have met JWT claims in earlier chapters. Here you will request an OIDC token from inside a running job, choose its audience, and inspect the result.5 min readiss, aud, sub and exp claims mean, and how a workflow gets a token with id-token: write. You should also have a general idea of IAM roles and trust policies.5 min readiss, aud, and sub claims) and how a workflow requests one. It also assumes you have a general idea of IAM roles and policies. Here we cover the cloud side: the configuration that decides whether a valid token is allowed to do5 min readaud, sub, and job_workflow_ref from earlier chapters. It covers how to narrow a cloud trust policy so that only the workflows you intend can get credentials.5 min readsub, aud, iss), and you have seen an IAM role trust policy. The failures below mostly come from one of three places: the workflow never gets a token, the token has the wrong values, or the cloud trus6 min readsub and aud claims, and trust conditions. It shows that the AWS setup is one instance of a general pattern. Azure, Google Cloud, and HashiCorp Vault all work the same way. Only the names and the matching rules dif4 min readworkflow_call is, and have seen an OIDC token's claims and a cloud trust policy from the earlier chapters. It covers one question: when a workflow calls a reusable workflow, which claims describe the caller and which describe t5 min readsub claim, and cloud trust policies. You should be able to read an AWS trust policy with aud and sub conditions and use the gh CLI or make a REST call with a token.5 min read