9 Commits

Author SHA1 Message Date
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
adrienperonnet
b11fe5c66f Add keychain support for jwt caching 2019-04-18 14:46:43 +12:00
Jeremy Stott
6622205179 Switch back to using AssumeRoleWithWebIdentity 2019-04-18 13:49:16 +12:00
adrienperonnet
1344edfad5 add test account config 2019-04-17 15:26:18 +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
b4ce982c35 First cut of invoking lambda to assume role 2019-04-16 09:21:39 +12:00
Jeremy Stott
653521ed9f aws-oidc working with google and onelogin openid connect. 2019-04-11 00:08:13 +12:00