Skip to content

v2.0.0-beta1

Pre-release
Pre-release
Compare
Choose a tag to compare
@synfinatic synfinatic released this 11 Nov 17:14
· 359 commits to main since this release
v2.0.0-beta1
5a29cb3

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:

  1. Now requires to run aws-sso login to use your SSO credentials to login to AWS Identity Center.
  2. New default Profile format (used for $AWS_PROFILE and --profile flag) uses the Account name/alias instead of the AccountId.
  3. Removed the AutoConfigCheck config option. aws-sso will now check the number of authorized AWS Accounts at login 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 run aws-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 than cache and login no longer can trigger a cache refresh or
    update of ~/.aws/config file

Removed Commands, Config Options and Flags

  • Remove config, config-profiles and completions commands
    and replace with setup
  • Remove flush command. Use logout instead
  • Remove --no-cache flag
  • Remove CacheRefresh configuration option. aws-sso will only update the cache
    when you ask it to via aws-sso cache
  • Remove tags --force-update flag
  • Remove AutoConfigCheck configuration option.
  • Remove references to all deprecated features:
    • AccountIdStr() function for ProfileFormat.
    • AccountIdStr field is replaced by AccountIdPad in list command and ListFields in config.yaml
    • ARN field is replaced by Arn in list command and ListFields in config.yaml
    • ExpiresStr field is replaced by Expires in list command and ListFields in config.yaml
    • FirefoxOpenUrlInContainer config option
    • ConfigUrlAction config option

What's Changed

Full Changelog: v1.14.2...v2.0.0-beta1