Skip to content

Commit d020ce6

Browse files
authored
Update README.md (aws-actions#1544)
1 parent 9dfa9aa commit d020ce6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -434,6 +434,8 @@ In this two-step example, the first step will use OIDC to assume the role
434434
example. Following that, a second step will use this role to assume a different
435435
role, `arn:aws:iam::987654321000:role/my-second-role`.
436436

437+
Note that the trust relationship/trust policy of the second role must grant the permissions `sts:AssumeRole` and `sts:TagSession` to the first role. (Or, alternatively, the `TagSession` permission can be omitted if you are using the `role-skip-session-tagging: true` flag for the second step.)
438+
437439
### AssumeRole with static IAM credentials in repository secrets
438440
```yaml
439441
- name: Configure AWS Credentials

0 commit comments

Comments
 (0)