Skip to content

amancevice/aws-sts-assume-role

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

AWS Assume Role GitHub Action

test maintainability

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

- uses: amancevice/aws-sts-assume-role@v2
  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
    region:            us-west-2
    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

Stars

Watchers

Forks

Packages

No packages published