Difference between revisions of "Aws-actions/configure-aws-credentials"

From wikieduonline
Jump to navigation Jump to search
Line 27: Line 27:
  
 
== Activities ==
 
== Activities ==
* Understand security benefits of <code>[[role-to-assume]]</code> vs  https://github.com/aws-actions/configure-aws-credentials#assuming-a-role
+
* Understand security benefits of <code>[[role-to-assume]]</code> vs <code>[[aws-access-key-id]]</code>   https://github.com/aws-actions/configure-aws-credentials#assuming-a-role
  
 
== See also ==
 
== See also ==

Revision as of 09:24, 3 February 2023


 aws-actions/configure-aws-credentials@v1
    - name: Configure AWS credentials
      uses: aws-actions/configure-aws-credentials@v1
      with:
         [[aws-access-key-id]]: $Template:Secrets.AWS ACCESS KEY ID
        aws-secret-access-key: $Template:Secrets.AWS SECRET ACCESS KEY
        aws-region: ${{ env.AWS_REGION }}



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

Activities

See also

Advertising: