Skip to content
Use this GitHub Action with your project

Add this Action to an existing workflow or create a new one.

View on Marketplace
main
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

AWS Assume Role GitHub Action

Assume an AWS IAM role and export the credentials to your GitHub Action ENV.

- uses: amancevice/aws-sts-assume-role@v0
  with:

    # Required
    access-key-id:     ${{ secrets.AWS_ACCESS_KEY_ID }}
    secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
    role-arn:          ${{ secrets.AWS_ROLE_ARN }}

    # Optional
    role-session-name: "GitHub-Action"
    duration-seconds:  3600

Roadmap

Implement all options available to aws sts assume-role

About

GitHub Action to assume an AWS IAM role and export the credentials to ENV

Resources

License

Packages

No packages published
You can’t perform that action at this time.