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

https://github.com/gabeduke/save

Save AWS credentials from environment to file
https://github.com/gabeduke/save

Last synced: 4 months ago
JSON representation

Save AWS credentials from environment to file

Awesome Lists containing this project

README

          

# Save

`go install github.com/gabeduke/save@latest`

This utility saves aws credentials from the environment to the AWS Credentials file. For use with AWS-Keycloak.

How does this work? AWS-Keycloak exports AWS session tokens to the environment. This tool simply creates an AWS session from the environment and saves it to the normal file. While the token is not expired, aws calls will work without the keycloak wrapper.

Usage:

```bash
$ aws-keycloak -p [profile] -- save
INFO[0000] Write AWS Session to file successful!
```