Skip to content

Latest commit

 

History

History
14 lines (9 loc) · 529 Bytes

README.md

File metadata and controls

14 lines (9 loc) · 529 Bytes

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:

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