Skip to content

Commit 1bbe1ce

Browse files
authored
Merge branch 'main' into repo-sync
2 parents 107564b + 0f2392a commit 1bbe1ce

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)