Overview
This is a significant release with some key changes regarding configuration defaults and user experience which I hope makes aws-sso
easier and more consistent to use. The major changes (please see the change log for more details) are:
- Now requires to run
aws-sso login
to use your SSO credentials to login to AWS Identity Center. - New default Profile format (used for
$AWS_PROFILE
and--profile
flag) uses the Account name/alias instead of the AccountId. - Removed the
AutoConfigCheck
config option.aws-sso
will now check the number of authorized AWS Accounts atlogin
to see if the cache needs to be updated. If you have been granted a new role to an existing account, you will need to runaws-sso cache
manually.
I consider this beta quality as I am using this myself on a daily basis.
Changelog
Bugs
- No longer ignore the
--threads
CLI option
New Features
- Require running
aws-sso login
. No more auto-login. #291 login
does a quick cache invalidation check using the AWS AccountIDs #576- New default ProfileFormat uses AccountAlias instead of AccountId
Changes
aws-sso
commands other thancache
andlogin
no longer can trigger a cache refresh or
update of~/.aws/config
file
Removed Commands, Config Options and Flags
- Remove
config
,config-profiles
andcompletions
commands
and replace withsetup
- Remove
flush
command. Uselogout
instead - Remove
--no-cache
flag - Remove
CacheRefresh
configuration option.aws-sso
will only update the cache
when you ask it to viaaws-sso cache
- Remove
tags --force-update
flag - Remove
AutoConfigCheck
configuration option. - Remove references to all deprecated features:
AccountIdStr()
function forProfileFormat
.AccountIdStr
field is replaced byAccountIdPad
inlist
command andListFields
in config.yamlARN
field is replaced byArn
inlist
command andListFields
in config.yamlExpiresStr
field is replaced byExpires
inlist
command andListFields
in config.yamlFirefoxOpenUrlInContainer
config optionConfigUrlAction
config option
What's Changed
- do brew update for release by @synfinatic in #642
- Bump actions/stale from 5 to 8 by @dependabot in #643
- add script to validate status for release by @synfinatic in #645
- fix release-check logic and remove target by @synfinatic in #646
- Bump github.com/aws/aws-sdk-go-v2/service/iam from 1.22.7 to 1.23.0 by @dependabot in #648
- Bump github.com/aws/aws-sdk-go-v2/config from 1.19.0 to 1.19.1 by @dependabot in #647
- Bump github.com/aws/aws-sdk-go-v2/service/iam from 1.23.0 to 1.24.0 by @dependabot in #649
- Remove
CacheRefresh
config option by @synfinatic in #655 - remove --no-config-check from shell integration by @synfinatic in #657
- Fix threads by @synfinatic in #659
- Remove
AutoConfigCheck
config option by @synfinatic in #660 - Remove deprecated by @synfinatic in #664
Full Changelog: v1.14.2...v2.0.0-beta1