Skip to content

Commit

Permalink
update to use iam roles (oidc), no longer access keys
Browse files Browse the repository at this point in the history
  • Loading branch information
david-iov committed May 6, 2024
1 parent c007d27 commit 1d9ee8c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/deploy-qa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,9 @@ jobs:
uses: actions/checkout@v2

- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{ secrets.QA_AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.QA_AWS_SECRET_ACCESS_KEY }}
role-to-assume: ${{ secrets.QA_ROLE_ARN }}
aws-region: ${{ secrets.QA_AWS_REGION }}

- name: Setup Node 16
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/deploy-testnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,10 @@ jobs:
uses: actions/checkout@v2

- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{ secrets.TESTNET_AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.TESTNET_AWS_SECRET_ACCESS_KEY }}
aws-region: ${{ secrets.TESTNET_AWS_REGION }}
role-to-assume: ${{ secrets.TESTNET_ROLE_ARN }}
aws-region: ${{ secrets.TESTNET_AWS_REGION }}}

- name: Setup Node 16
uses: actions/setup-node@v1
Expand Down

0 comments on commit 1d9ee8c

Please sign in to comment.