Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/amancevice/aws-sts-assume-role
- Owner: amancevice
- License: mit
- Created: 2020-07-30T11:46:34.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-03-10T14:39:50.000Z (8 months ago)
- Last Synced: 2024-10-10T04:07:55.187Z (about 1 month ago)
- Language: JavaScript
- Size: 15.2 MB
- Stars: 16
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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`