9 Commits

Author SHA1 Message Date
adrienperonnet
143f5deb99 Empty slice declaration via literal 2019-04-26 22:23:02 +12:00
Jeremy Stott
f8a7c0986f Added TOML cofiguration file support
* configuration file located at ~/.aws-oidc/config
 * sets default parameters, but can still be overridden on the cli
 * named AuthProviders are accessible via the auth [name] command
Renamed exec command to auth. Upgraded auth command to take defaults from the config file.
Added new command exec, that puts the temporary credentials as environment variables in the specified command
Automatically append URL to end of auth command if not specified
2019-04-24 15:34:01 +12:00
Jeremy Stott
c548dcfd72 Fixed refresh token and storing in keychain.
Beginning to list roles given a clientid.
2019-04-20 23:12:20 +12:00
adrienperonnet
3c2e58c93e Store the whole oauth2 token content in keychain 2019-04-18 15:36:38 +12:00
Jeremy Stott
6622205179 Switch back to using AssumeRoleWithWebIdentity 2019-04-18 13:49:16 +12:00
Jeremy Stott
a9043f91bc Switch to localhost for testing 2019-04-17 09:53:59 +12:00
Jeremy Stott
33731ab51e Updated to use AWS cognito, including retrieivng credentials with get-credentials-for-identity. 2019-04-16 22:15:37 +12:00
Jeremy Stott
0235ceaa79 Add groups claim 2019-04-15 23:36:11 +12:00
Jeremy Stott
653521ed9f aws-oidc working with google and onelogin openid connect. 2019-04-11 00:08:13 +12:00