GitHub Actions
The code will configure AWS credentials for the current user. The aws-access-key-id and aws-secret-access-key variables will be set to the user's AWS access key ID and secret access key, respectively. The aws-region variable will be set to the user's AWS region.
Shortcut: step.aws.setup
Filename pattern: .github/workflows/*.yml
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: ${{ secrets.AWS_REGION }}