Skip to content

Commit cdde0a7

Browse files
authored
Merge pull request github#25415 from github/repo-sync
repo sync
2 parents 107564b + 39e4a16 commit cdde0a7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

content/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-amazon-web-services.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ Edit the trust relationship to add the `sub` field to the validation conditions.
4242

4343
```json{:copy}
4444
"Condition": {
45-
"StringEquals": {
45+
"ForAllValues:StringEquals": {
46+
"token.actions.githubusercontent.com:aud": "sts.amazonaws.com",
4647
"token.actions.githubusercontent.com:sub": "repo:octo-org/octo-repo:ref:refs/heads/octo-branch"
4748
}
4849
}

0 commit comments

Comments
 (0)