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
- Host: GitHub
- URL: https://github.com/gabeduke/save
- Owner: gabeduke
- Created: 2021-10-21T03:53:01.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-11-01T14:33:23.000Z (over 1 year ago)
- Last Synced: 2025-12-18T06:51:21.456Z (7 months ago)
- Language: Go
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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!
```