All notable changes to this project will be documented in this file.
- Add small documentation regarding the usage of the magic account ID (#35)
- Updated dependencies and fixed Catalina compatibility (#39) - thanks @nauxliu
- Fixed typo in
README
(#37)
- Added support for command to generate OTP token on Yubikey and return it to stdout (#32)
- Fixed wrong default for config file (#31)
- Added environment variables and config flags for all configuration mechanisms
- Added support for long-term credential console link generation
- Fixed expires output bug and added expiry hints
- Added better looking error handling
- Massive update to the
README
- Removed cache and session ttl mechanism and replaced it with duration and grace
- Created new client structure with explicit generators, sources and target
- Moved logic for console out of the command and into a dedicated helper
- Removed "list" command
- The MFA serial can now additionally be specified using
-m
,--mfa-serial
orAWSU_MFA_SERIAL
- A new generator (next to the default
yubikey
) calledmanual
has been exposed using-g
,--generator
orAWSU_TOKEN_GENERATOR
- this can be used to manually enter tokens for scenarios where roles are used in contexts where IAM policy conditions don't prevent the usage of tokens that are older than e.g. 1 hour
- Fixed #26 and #27 (Limit role credential duration to AWS default of 1 hour)
- Fixed #23 (Increase role and session token duration)
- Fixed bug with missing grace period in session token
- Fixed #21 (Don’t get session token w/o MFA)
- Abandonded SDK internal logic for assuming roles with tokens and read shared configs directly instead
- Dropped workspace support for the time being - directly select profiles with
-p
orAWS_PROFILE
instead - Always get session token (including MFA) before doing anything else - this allows assuming the role in another tool e.g. Terraform while still having a MFA in the mix
- Changed cache location of the sessions to just use the name of the profile
- Added
list
command to show all configured profiles - Added
no-cache
option to prevent caching
- Put instructions on how to delete the MFA into registration error message
- Added config-file-less mode using environment variables (e.g. in case Terraform is not used)
- Trigger verbose mode via
AWSU_VERBOSE
- Use username for virtual device name (instead of random id) - this should make self-service policies possible again
- Added missing
export
prefix to export mode - Log code when fetching from Yubikey
- Always assume roles for 1h