Loading tutorials
token.actions.githubusercontent.com as an IAM OIDC provider. Here you will learn how to decide which workflows may assume a role, using conditions on the tok4 min readgithub-deploy role from the earlier chapters, and you know the basic AWS CLI. The trust policy decides who can assume the role. The permissions policy, covered here, decides what the role can do once someone has assumed5 min readpermissions block in a GitHub Actions workflow. It controls whether a job can request an OIDC token from GitHub. It assumes you know the basics of workflows (jobs, steps, triggers) and have read the earlier chapters on the token claims and the IAM trust policy.4 min readaws-actions/configure-aws-credentials action does between the start of 4 min readiss, aud, sub). You should have an IAM OIDC provider for token.actions.githubusercontent.com and a role whose trust policy matches your repository. You should also be comfortable with basic GitHub5 min readtoken.actions.githubusercontent.com and know what the aud and sub claims mean. Here you add a human approval step and a branch restriction in 4 min readtoken.actions.githubusercontent.com, a role with an sts:AssumeRoleWithWebIdentity trust policy, and a workflow that uses aws-actions/configure-aws-credentials. Here you learn to find out why 5 min readaud and sub claims are, how sts:AssumeRoleWithWebIdentity works, and how a workflow requests a token with id-token: write. Here you will tie role access to the sha4 min readaws-actions/configure-aws-credentials, have written a role trust policy, and can 5 min readaws-actions/configure-aws-credentials. You should also know the AWS CLI and be comfortable reading JSON. The goal is to answer "who deployed what, from w4 min readsub and aud conditions, and the configure-aws-credentials action. You should also know how to run the AWS CLI against more than o4 min read