Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/amancevice/aws-sts-assume-role

GitHub Action to assume an AWS IAM role and export the credentials to ENV
https://github.com/amancevice/aws-sts-assume-role

Last synced: 17 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# AWS Assume Role GitHub Action

[![test](https://img.shields.io/github/actions/workflow/status/amancevice/aws-sts-assume-role/test.yaml?logo=github&style=flat-square)](https://github.com/amancevice/aws-sts-assume-role/actions/workflows/test.yaml)
[![maintainability](https://img.shields.io/codeclimate/maintainability/amancevice/aws-sts-assume-role?logo=code-climate&style=flat-square)](https://codeclimate.com/github/amancevice/aws-sts-assume-role/maintainability)

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

```yaml
- 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`