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

From wikieduonline
Jump to navigation Jump to search
Line 2: Line 2:
 
* https://github.com/aws-actions/configure-aws-credentials
 
* https://github.com/aws-actions/configure-aws-credentials
  
<pre>
+
 
<nowiki>
+
<nowiki>
aws-actions/configure-aws-credentials@v1
+
  aws-actions/configure-aws-credentials@v1
    - name: Configure AWS credentials
+
    - name: Configure AWS credentials
      uses: aws-actions/configure-aws-credentials@v1
+
      uses: aws-actions/configure-aws-credentials@v1
      with:
+
      with:
        [[aws-access-key-id]]: ${{ secrets.AWS_ACCESS_KEY_ID }}
+
        [[aws-access-key-id]]: ${{ secrets.AWS_ACCESS_KEY_ID }}
        [[aws-secret-access-key]]: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
+
        [[aws-secret-access-key]]: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
        [[aws-region]]: ${{ env.AWS_REGION }}
+
        [[aws-region]]: ${{ env.AWS_REGION }}
</nowiki>
+
</nowiki>
</pre>
+
 
  
  

Revision as of 09:22, 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]]: ${{ secrets.AWS_ACCESS_KEY_ID }}
         [[aws-secret-access-key]]: ${{ 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

See also

Advertising: