Skip to content

Commit

Permalink
adding auth step
Browse files Browse the repository at this point in the history
  • Loading branch information
chelseybeck committed Feb 15, 2024
1 parent 85fff0f commit a9dd217
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/test-aws-access.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,15 @@ jobs:
run: |
pip install boto3
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: AWS_ACCESS_KEY_ID
aws-secret-access-key: AWS_SECRET_ACCESS_KEY
aws-region: us-west-2

- name: List S3 Buckets
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_ACCESS_KEY_ID: AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY: AWS_SECRET_ACCESS_KEY
run: python python/list_buckets.py

0 comments on commit a9dd217

Please sign in to comment.