Skip to content

Commit

Permalink
Recommend using GitHub OIDC role assumption over hardcoded access keys
Browse files Browse the repository at this point in the history
  • Loading branch information
jplock authored Dec 7, 2024
1 parent 819220f commit 47813a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
- uses: aws-actions/configure-aws-credentials@v2
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
role-to-assume: ${{ secrets.ASSUME_ROLE_ARN }}
role-session-name: ci
aws-region: us-east-2
# Build inside Docker containers
- run: sam build --use-container
Expand Down

0 comments on commit 47813a5

Please sign in to comment.