If you want to compile from source:
go get -u github.com/tmiller/auth-aws
Run the program by executing auth-aws
To pass inputs into the program there are two ways that are loaded in the following order:
- config file
- environment variables
The config file is located at ~/.config/auth-aws/config.ini and uses the following format:
[adfs]
user = foo
pass = bar
host = federated.host.name
Here are the environment variables available:
- ADFS_USER
- ADFS_PASS
- ADFS_HOST
Finally if any variables are missing from the config file or the environment variables, then the program will ask you to supply them when necessary.