Difference between revisions of "Aws-actions/configure-aws-credentials"
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
aws-actions/configure-aws-credentials@v1 | aws-actions/configure-aws-credentials@v1 | ||
− | + | <nowiki><code> | |
aws-actions/configure-aws-credentials@v1 | aws-actions/configure-aws-credentials@v1 | ||
- name: Configure AWS credentials | - name: Configure AWS credentials | ||
Line 13: | Line 13: | ||
[[aws-secret-access-key]]: <nowiki>${{ secrets.AWS_SECRET_ACCESS_KEY }}</nowiki> | [[aws-secret-access-key]]: <nowiki>${{ secrets.AWS_SECRET_ACCESS_KEY }}</nowiki> | ||
aws-region: ${{ env.AWS_REGION }} | aws-region: ${{ env.AWS_REGION }} | ||
− | + | </code><nowiki> | |
Revision as of 16:53, 19 May 2023
aws-actions/configure-aws-credentials@v2 aws-actions/configure-aws-credentials@v1
<code> aws-actions/configure-aws-credentials@v1 - name: Configure AWS credentials uses: aws-actions/configure-aws-credentials@v1 with: [[aws-access-key-id]]: <nowiki>${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} aws-region: $Template:Env.AWS REGION
<nowiki>
Official example
- name: Configure AWS Credentials uses: aws-actions/configure-aws-credentials@v1 with: role-to-assume: arn:aws:iam::123456789100:role/my-github-actions-role aws-region: us-east-2
Related
aws-actions/configure-aws-credentials@v1-node16
aws-access-key-id
- secrets.
- env.
Activities
- Understand security benefits of
role-to-assume
vsaws-access-key-id
https://github.com/aws-actions/configure-aws-credentials#assuming-a-role
See also
Advertising: