gabeduke / save

Save AWS credentials from environment to file

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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!

About

Save AWS credentials from environment to file


Languages

Language:Go 100.0%