Overhaul how we manage environment variables and lots more
Overview
Breaking Changes
- Standardize on
AWS_SSO
prefix for environment variables - Remove
--region
flag foreval
andexec
commands console -use-env
is nowconsole --use-sts
to be more clear- Building aws-sso now requires Go v1.17+
New Features
- Add a simple wizard to configure aws-sso on first run if no ~/.aws-sso/config.yaml
file exists - Update interactive selected item color scheme to be easier to read. #138
- Add
eval --clear
andeval --refresh
- Add full support for
DefaultRegion
in config.yaml - Add
--no-region
flag foreval
andexec
commands - Add
process
command for AWS credential_process in ~/.aws/config #157 - Add
ConsoleDuration
config option #159 - Improve documentation of environment variables
Bug Fixes
exec
now updates the ENV vars of the forked processs rather than our own processeval
no longer prints URLs #145- Will no longer overwrite user defined AWS_DEFAULT_REGION #152
- Fix bug where cache auto-refresh was not saving the new file, causing future
runs to not utilize the cache - Remove
--duration
option from commands which don't support it LogLevel
andUrlAction
in the config yaml now work #161- Add more unit tests & fix underlying bugs
What's Changed
- update interactive select bar color scheme by @synfinatic in #140
- Create the config.yaml on first run by @synfinatic in #141
- add lint to make test by @synfinatic in #142
- Remove
renew
and addeval
by @synfinatic in #143 - Fix broken default command by @synfinatic in #144
- add UrlAction to auto-config by @synfinatic in #146
- fix
eval
when printing by @synfinatic in #147 - Add TOC and more pedantic abouve ENV vars by @synfinatic in #151
- Rework how we manage the AWS_DEFAULT_REGION by @synfinatic in #153
- clear AWS_SSO_DEFAULT_ROLE when doesn't match by @synfinatic in #154
- Add more unit test & cleanup by @synfinatic in #155
- Fix caching and add
process
command by @synfinatic in #158 - completely rework environment variables by @synfinatic in #160
- Add ConsoleDuration config option by @synfinatic in #162
- Fix
LogLevel
andUrlAction
settings in config file by @synfinatic in #163 - clean up in prep for v1.4.0 release by @synfinatic in #164
Full Changelog: v1.3.1...v1.4.0