Difference between revisions of "Audience:"

From wikieduonline
Jump to navigation Jump to search
 
Line 7: Line 7:
 
         with:
 
         with:
 
           audience: [[sts.amazonaws.com]]
 
           audience: [[sts.amazonaws.com]]
           role-to-assume: arn:aws:iam::$Template:Secrets.AWS ACCOUNT ID YOURENV:role/OIDC_YourGitHubActions
+
           [[role-to-assume]]: arn:aws:iam::$Template:Secrets.AWS ACCOUNT ID YOURENV:role/OIDC_YourGitHubActions
           aws-region: ${{ secrets.AWS_REGION_YOURENV }}
+
           [[aws-region]]: ${{ secrets.AWS_REGION_YOURENV }}
  
  
Line 14: Line 14:
  
  
* [[aws-actions/configure-aws-credentials]]
+
* {{aws-actions/configure-aws-credentials}}
 
* {{sts.amazonaws.com}}
 
* {{sts.amazonaws.com}}

Latest revision as of 14:39, 25 August 2024


- name: Configure AWS credentials
       id: creds
       uses: aws-actions/configure-aws-credentials@v4
       with:
         audience: sts.amazonaws.com
         role-to-assume: arn:aws:iam::$Template:Secrets.AWS ACCOUNT ID YOURENV:role/OIDC_YourGitHubActions
         aws-region: $Template:Secrets.AWS REGION YOURENV



Advertising: