Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
pgollucci committed Oct 31, 2024
1 parent 2194d8e commit bed984c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/token.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
ACTIONS_ID_TOKEN_REQUEST_URL: ${{ secrets.ACTIONS_ID_TOKEN_REQUEST_URL }}
ACTIONS_ID_TOKEN_REQUEST_TOKEN: ${{ secrets.ACTIONS_ID_TOKEN_REQUEST_TOKEN }}
run: |
set -x
env |grep TOKEN
web_identity_token=$(curl -H "Authorization: Bearer $ACTIONS_ID_TOKEN_REQUEST_TOKEN" -H "Accept: application/json" "$ACTIONS_ID_TOKEN_REQUEST_URL" | jq -r ".value")
aws sts assume-role-with-web-identity --role-arn "p6-roles-github-oidc-prov-P6CDKGithubOidcProviderGi-6WCYSkZF8WqC" --role-session-name "github-oidc-session" --web-identity-token "$web_identity_token" --duration-seconds 3600

0 comments on commit bed984c

Please sign in to comment.