aws-sso-profile
helper generates error about--no-config-check
flag- Honor
DefaultRegion
in config.yaml when using interactive prompt #1075 - Lock SecureStore across multiple
aws-sso
executions #1084
- Fix running the ECS server outside of docker #104
- Fix crash while fetching AWS account list
- Fix
console
command failing due to lack of authentication - Fix
--lines
argument
- Add basic xonsh shell support
- Add AutoLogin config option
- Bump various 3rd party libraries
- Improve github actions for builds
v2.0.0-beta3 - 2024-08-19
- Fix ecs docker image build problems
v2.0.0-beta2 - 2024-08-19
- Fix fatal error with
time
command #1008
- No longer show help for sub-commands by default
- Warnings about invalid accounts/roles in config.yaml are now Debug messages #980
- Default ProfileFormat is now the
Friendly
format #992 - Refactor commands under
setup
: #975config
is nowsetup wizard
andConfigProfilesUrlAction
config option is no longer usedconfig-profiles
is nowsetup profiles
completions
is nowsetup completions
ecs ssl
is nowsetup ecs ssl
- Make
--url-action
and--sts-refresh
command specific options - Refactor
ecs ssl
commands to be just flags.
- Remove
--open
option fromprocess
command #291 - Only the and
cache
command will auto-update the contents of~/.aws/config
#974 tags
command no longer supports the--force-update
option- Change default log level from
warn
toinfo
- Remove mention from docs that Firefox Multi-Account Containers plugin is supported #1021
- Switch from logrus to log/slog #1001
- Now require
login
as a seperate step for better security #291 - Remove
flush
command. Uselogout
aws-sso
commands other thancache
andlogin
no longer can trigger a cache refresh without update of~/.aws/config
file- Add support for running ECS Server via docker (
aws-sso ecs docker ...
) - Add support for
XDG_CONFIG_HOME
env variable to specify config location #1003
v1.17.0 - 2024-07-10
- No longer ignore the
--threads
CLI option - Warn users of invalid AWS Accounts/Roles defined in the config.yaml #962
- Add support for HTTP Auth/
$AWS_CONTAINER_AUTHORIZATION_TOKEN
env variable #516 - Add initial prototype support for HTTPS #518
- Add Docker container support #569
- Add support for ECS Server to listen on other interfaces other than loopback via
--bind-ip
- Replace
--port
with--server
flag for theaws-sso ecs [list|load|unload|profile]
commands #937 - Update cache during login when relevant settings in the config.yaml changes #555
- Add support for
$AWS_SHARED_CREDENTIALS_FILE
#914 - Add support for XDG Config path standard:
~/.config/aws-sso
#330 - Detect running the config wizard on remote hosts and limit UrlAction #757
- Bump cache file version to 4.
ConfigProfilesUrlAction
now defaults to value ofUrlAction
instead ofurl
#946- Rename/rework many of the
ecs
commands #938 - New installs of
aws-sso
will default to~/.config/aws-sso
instead of~/.aws-sso
for configuration
v1.16.1 - 2024-06-13
- Fix homebrew build on macOS
credentials --profiles
is nowcredentials --profile
to conform to standard
v1.16.0 - 2024-06-12
- Add
credentials
command #867 - Add auto-complete for
aws-sso-profile
for fish
- Use RFC3339 for
$AWS_SSO_SESSION_EXPIRATION
#837 - Update AWS SDK libraries and other dependencies
- Fix tab completion for
--profile
flag with fish config-profiles
now works for multiple AWS SSO instances #696, #740- Disable linker warnings on macOS with -race flag
aws-sso-profile
returns usage when run without args #836
v1.15.1 - 2024-04-30
- Add helper aliases for fish shell #361
- Builds now run govulncheck
v1.15.0 - 2024-04-05
- Add
aws-sso-cli completion --source
flag to generate completion script and print to stdout. #779 - UrlExecCommand now supports commands in
~
and the$HOME
environment variable. #816
v1.14.3 - 2024-01-15
- Fix crash when user has 0 AWS accounts #750
- Statically link Linux binaries (
$CGO\_ENABLED=0
) #749 - Document support for Firefox Multi-Account Containers plugin #760
v1.14.2 - 2023-10-19
- Fix
console
command when accessing China/US Gov #634
- Now use region/partition specific API Endpoint when retrieving AWS Console URLs from IAM Identity Center #634
v1.14.1 - 2023-10-17
- Fix bug where JsonStore was not being created #612
- Fix fish shell completion
- Do not fall back to interactive prompt when provided CLI args #567
- Config Wizard now prompts for
ProfileFormat
#590 - Add
login
command #291
- Documentation is now managed by mkdocs
- Improved demos in documentation #551
- Update many dependencies
- Add dependabot
aws-sso flush -t sso
should not be used. Useaws-sso logout
instead.
v1.14.0 - 2023-10-13
- Update net/http to v1.17.0 to fix HTTP/2 server bug CVE-2023-39325
- Print user code during SSO authentication workflow #572
- Add
--no-cache
toconsole
,config-profiles
,exec
andlist
#574
v1.13.1 - 2023-08-28
- Fix fetching creds from ECS Server #557
- ECS Server now includes
RoleArn
in output #561 - Fix selection of default browser in advanced guided setup #563
- ECS Server API is now more RESTful and fully document the API
- Default profile
$AWS_CONTAINER_CREDENTIALS_FULL_URI
is nowhttp://localhost:4144/
- Slotted profile
$AWS_CONTAINER_CREDENTIALS_FULL_URI
is nowhttp://localhost:4144/slot/<profile>
aws-sso ecs list
andaws-sso ecs profile
now return the same output formatmake tags
now uses gotags
v1.13.0 - 2023-08-21
- No longer crash during guided setup if user presses
<Del>
#531 - No longer error out on simple input errors during guided setup
- Do not create invalid
maxretry
andmaxbackoff
in SSO Instance during config #536 - Ctrl-C now exits the guided setup
- Running
aws-sso config
with a missing config file no longer prompts you to back it up #537 - Document ugly fact that
AccountAlias
is really the AWS Account Name #534 ecs load
now updates history #519- ECS Server now generates errors per AWS docs
- Guided setup is now more simple unless user provides the
--advanced
flag #530 - Guided setup now strips leading and trailing spaces for string input
- Revert #491 so SSO auth uses Firefox containers
- Added logout command which invalidates the browser session and all credentials #526
AutoConfigCheck
now honors the$AWS_CONFIG_FILE
variable #540config-profiles
now supports the--aws-config
flag- Added ecs list command to list profiles in named slots #517
- Add AuthUrlAction to override UrlAction during SSO Authentication. #524
v1.12.0 - 2023-08-12
- Prevent crashing with large number of accounts #520
console
command now always honors the--duration
flag
- CacheRefresh now defaults to 168 hours (7 days)
- FullTextSearch is enabled by default for interactive
list
mode. - MaxRetry defaults to 10
- MaxBackoff defaults to 5
- Add ECS Server mode to support
$AWS_CONTAINER_CREDENTIALS_FULL_URI
#398 - Add full-text search for interactive
list
mode #504 - Improve performance refreshing the list of accounts & roles
- Add
MaxRetry
andMaxBackoff
config options
v1.11.0 - 2023-08-02
- Fix
list --sort
bugs #506 - Fix
process --profile
flag not working - Fix
AccountId
still not zero padding inlist
output #503 - Invalid fields passed to
list
command are now detected instead of an empty column
- No longer show usage on error
- Add
AccountIdPad
as a new field name for thelist
command to pad with zeros as appropriate. - Change default
ProfileFormat
to{{ .AccountIdPad }}:{{ .RoleName }}
ExpiresStr
field name is nowExpires
to match the headerExpires
is nowExpiresEpoch
as both field name and headerARN
header is nowArn
to match the field name- Add missing AWS Regions & SSO Regions #507
AccountIdStr
function forProfileFormat
. Use the.AccountIdPad
variable instead.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.yaml
v1.10.0 - 2023-07-30
- Fix fish auto-complete helper #472
- Fix issue where we were not appropriately flushing the roles cache #479
- Creds with less than 1min remaining now indicate so via
< 1m
rather than empty string - We now consistently use
RoleName
as both input and output for thelist
command
- Authentication via your SSO provider no longer uses a Firefox container #486
- Bump to Go v1.19
- Bump to golangci-lint v1.52.2
- AccountId in the
list
command output are now presented with a leading zero(s) - Expired IAM credentials are now explictily marked instead of an empty string
- Profiles in ~/.aws/config now include the
region = XXX
option #481 - Add
FirstTag
support in the config for placing a tag at the top of the select list #445 - Support
eval
command in Windows PowerShell via Invoke-Expression #188 - Add support for
--sort
and--reverse
flags for thelist
command #466
v1.9.10 - 2023-02-27
- Switch to
https
for homebrew submodule - Use
homebrew-core
to distribute via brew #458
v1.9.9 - 2023-02-25
aws-sso version
no longer requires a valid config file (again)
v1.9.8 - 2023-02-25
aws-sso version
no longer requires a valid config file
- Update location for homebrew template file
v1.9.7 - 2023-02-25
- Update golang.org/x/crypto & golang.org/x/crypto/ssh dependencies for security #460
- Update golang.org/x/sys dependencies for security #461
- Update various dependencies not covered in bugs
v1.9.6 - 2022-12-04
- Add
Threads
option to config file - Updating the account and role cache now honors the
Threads
option - If updating role cache takes > 2 seconds, let users know we're working on it #448
config-profiles
now pads the AccountID in the profile name as described. #446cache
command no longer queries AWS twice if the cache was expired/invalidated- Fix
make fmt
target to use gofmt
- Unexpected AccessToken failure is now considered an error
v1.9.5 - 2022-11-13
- Release binaries are now automatically signed via Github Actions
- Now support overriding the timestamp when building via
BUILDINFOS
env var
config-profiles
now always uses the latest list of profiles from AWS #430- Specifying the FQDN for the start url hostname now works in the config wizard #434
- Fix multiple bugs in zsh autocomplete helper
- Fix problems with a comma in the AccountAlias
- Fix bug in
aws-sso eval --refresh
v1.9.4 - 2022-09-29
- Fix macOS amd64 release binary #427
- Fix role loop detection regression #425
v1.9.3 - 2022-09-29
- Update to Golang v1.18
- Add
ConfigProfilesBinaryPath
option and use $PATH with NIX #410 - NIX users will use
aws-sso
forcredential_process
aws-sso config
no longer prompts to backup a config file if it doesn't exist. #402- Fix cross-compiling on macOS #407
- Fix role lookup when defined in the config.yaml #412
- Fix bug retrieving data from Windows CredStore
v1.9.2 - 2022-05-13
- Auto-completion is now context sensitive to the
--sso
,--account
, and--role
flags and filters results accordingly. #382 - Add zsh support for shell helpers #360
- Firefox container name color & icon will be pseudo-randomized if you don't specify a Color/Icon tag #392
config
wizard now intelligently selects a default value forConfigProfilesUrlAction
#387- Add support for Granted Containers Firefox plugin #400
UrlAction
andConfigProfilesUrlAction
now supportopen-url-in-container
and granted-containers`
- Replace
list --profile-prefix
with a more flexiblelist --prefix
option #395 FirefoxOpenUrlInContainer
config option has been deprecated
- Fix broken
completions
for zsh and fish
v1.9.1 - 2022-05-09
- Fix
config
command when user has noUrlExecCommand
defined #385 console
no longer warns when a role is missing the Color or Icon tag
v1.9.0 - 2022-05-08
- Support assuming roles bash without forking a shell and with auto-completion support of AWS Profile names. #357
- Add
completions
command which supports--install
and--uninstall
flags Please see the quickstart for more details. - Enhanced
list
command with CSV output and basic filtering - Add
config
command to re-run through the setup wizard #354 - Added many more configuration options to the setup wizard
list
command can now generate a CSV via--csv
flag- You can now specify the same StartURL in multiple SSOConfig blocks so you can authenticate as different users at the same time.
- Users can now specify their AWS SSO roles
CacheRefresh
interval instead of the hard coded 24hrs. #355
- Added
Profile
to the list of default fields for thelist
command - Replaced the command
install-completions
with a more powefulcompletions
- Renamed the
config
command to update~/.aws/config
to beconfig-profiles
which is hopefully more clear config
command now runs the configuration wizardConfigProfilesUrlAction
replacesConfigUrlAction
ConfigUrlAction
option. Will be automatically upgraded by theaws-sso config
wizard.
- Fixed setup wizard layout to be less ugly and more consistent.
ConsoleDuration
and the--duration
flag foraws-sso console
are now correctly limited to 12hrs/720min #379- Multiple AWS SSO Instances are now properly supported (only) with Firefox Containers
v1.8.1 - 2022-05-02
- Add Color and Icon support to Firefox Containers #340
- Auto detect new roles and auto-update ~/.aws/config #341
- Firefox container support is now handled by guided setup
- Fix documentation for
UrlExecCommand
config option (was listed asUrlActionExec
)
- Add
revive
as a linter
v1.8.0 - 2022-04-30
- Add support for Firefox Containers for multiple AWS Console sessions #336
console
command now works whenAWS_PROFILE
is set to static creds #332- Fix
console
URL redirect to wrong URL #328
v1.7.5 - 2022-03-29
- No longer generate errors for empty History tag in cache #305
- No longer print the federated console url on errors by default #314
- Fully delete items from the keyring #320
- Fixed error when tried to save more than 2.5Kbytes in wincred #308
- Add support for --url-action printurl and exec #303
list
command now prints how long until the AWS SSO session expires #313
- Add additional unit tests
- Document how using
$AWS_PROFILE
with AWS SSO CLI auto-refreshes credentials #270
v1.7.4 - 2022-02-25
- Fix crash when users have many roles or accounts in AWS SSO
- Fix crash opening empty json store files
- Fix crash with AWS AccountIDs in ~/.aws-sso/config.yaml with leading zeros #292
- Add unit tests for AWS SSO API calls
- No longer read ~/.aws/credentials via AWS Go SDK for slightly better security #280
v1.7.3 - 2022-02-10
- Fix argument parsing with
process
command which broke the command #286
v1.7.2 - 2022-02-05
- Cached AWS SSO AccessToken is sometimes invalid even though it was not expired and any calls to SSO were failing. #279
console -P
is nowconsole -p
to force prompting- Update to AWS Go SDK v2
- Support specifying the role to assume via the
-p
/--profile
flag #268
v1.7.1 - 2022-01-16
AWS_SSO
env var is now set with theeval
andexec
command #251- Fix broken auto-complete for non-Default AWS SSO instances #249
- Fix incorrect
AWS_SSO_SESSION_EXPIRATION
values #250 - Remove old config settings that no longer exist #254
cache
command no longer flushes the Expires field for role credentials or the role History- Auto-guided setup now loads the config so the user defined command is successful #260
- default
list
command will now refresh the cache if necessary
flush
now flushes the STS IAM Role credentials first by default #236- Guided setup now uses the hostname or FQDN instead of full URL for the SSO StartURL #258
- Add a lot more
ProfileFormat
functions via sprig #244 flush
command gives users more control over what is flushed- Add documentation for
SourceIdentity
for AssumeRole operations - Add
EnvVarTags
config file option #134
v1.7.0 - 2022-01-09
- Add
Via
andSSO
to possiblelist
command output fields - Add
SSO
to list of valid ProfileFormat template variables - Improve ProfileFormat documentation
- Add
config
command to manage~/.aws/config
#157 - Add Quick Start Guide
console
command now works with any credentials using$AWS_PROFILE
#234
- Fix broken FirstItem and StringsJoin ProfileFormat functions
- Default ProfileFormat now zero-pads the AWS AccountID
- Fix crash with invalid History tags
eval
command now supports--url-action=print
v1.6.1 - 2021-12-31
- The
Via
role option is now a searchable tag #199 - The
tags
command now returns the keys in sorted order
- Consistently pad AccountID with zeros whenever necessary
- Detect role chain loops using
Via
#194 - AccountAlias/AccountName tags are inconsistenly applied/missing #201
- Honor config.yaml
DefaultSSO
#209 - Setup now defaults to
warn
log level instead ofinfo
#214 console
command did not know when you are using a non-Default SSO instance #208- cache now handles multiple AWS SSO Instances correctly which fixes numerous issues #219
- Reduce number of warnings #205
v1.6.0 - 2021-12-24
- Fix issue with missing colon in parsed/generated Role ARNs for missing AWS region #192
- Setup now prompts for
LogLevel
- Suppress bogus warning when saving Role credentials in
wincred
store #183 - Add support for role chaining using
Via
tag #38 - Cache file is now versioned for better compatibility across versions of
aws-sso
#195
- Incorrect
--level
value now correctly tells user the correct name of the flag exec
command now usescmd.exe
when no command is specified
v1.5.1 - 2021-12-15
- Setup now prompts for
HistoryMinutes
andHistoryLimit
- Setup now uses a smaller cursor which doesn't hide the character
- Fix setup bug where the SSO Instance was always called
Default
- Setup no longer accepts invalid characters for strings #178
- Fix error/bell sound on macOS when selecting options during setup #179
v1.5.0 - 2021-12-14
- Add
HistoryMinutes
option to limit history by time, not just count #139
- Now use macOS
login
Keychain instead ofAWSSSOCli
#150 - All secure storage methods now store a single entry instead of multiple entries
- Replace
console --use-sts
withconsole --prompt
#169 - Improve password prompting for file based keyring #171
- file keyring will no longer infinitely prompt for new password
v1.4.0 - 2021-11-25
- 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+
- Add a simple wizard to configure aws-sso on first run if no ~/.aws-sso/config.yaml file exists
- Update interactive selected item color schme to stand our better. #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
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
v1.3.1 - 2021-11-15
- Fix missing --url-action and --browser #113
- Don't print out URL when sending to browser/clipboard for security
- Escape colon in ARN's for
-a
flag to work around the colon being a word delimiter for bash (auto)complete. #135 - Add initial basic setup if there is a missing config.yaml #131
v1.3.0 - 2021-11-14
- Add report card and make improvements to code style #124
- Add auto-complete support #12
- Add golangci-lint support & config file
- Sort History tag based on time, not alphabetical
- History entries now have how long since it was last used #123
v1.2.3 - 2021-11-13
- Add support for tracking recently used roles via History tag for exec & console #29
- Continue to improve unit tests
- Fix bugs in
tags
command when using -A or -R to filter results - Fix missing tags when not defining roles in config.yaml #116
- Fix bad Linux ARM64/AARCH64 rpm/deb packages with invalid binaries
v1.2.2 - 2021-11-11
- Add
AccountAlias
andExpires
to list of fields that can be displayed via thelist
command AccountAlias
replacesAccountName
in the list of default fields forlist
- Add RPM and DEB package support for Linux on x86_64 and ARM64 #52
v1.2.1 - 2021-11-03
- Add customizable color support #79
- Simplify options for handling URLs and refactor internals #82
- Rework how defaults are handled/settings loaded
- Remove references to
duration
in config which don't do anything - Add additional config file options:
- UrlAction
- LogLevel
- LogLines
- DefaultSSO
- Replace
--print-url
with--url-action
#81 - Add support for
DefaultRegion
in config file #30 console
command now supports--region
list
command now reports expired and has constant sorting of roles #71- Fix bug where STS token creds were cached, but not reused.
list -f
now sorts fields- Use cache for tracking when STS tokens expire
exec
command now ignores arguments intended for the command being run #93- Remove
-R
as a short version of--sts-refresh
to avoid collision with exec role #92 - Fix finding $HOME directory on Windows and make GetHomePath() cross platform #100
- Fix issue with AWS AccountID's with leading zeros. #96
- Optionally delete STS credentials from secure store cache #104
- Add support for Brew #52
v1.2.0 - 2021-10-29
console
command now can use ENV vars via --use-env #41- Fix bugs in
console
with invalid CLI parsing - Tag keys and values are now separate choices #49
- Auto-complete options are now sorted
- Started writing some unit tests
- Do SSO authentication after role selection to improve performance even when we have cached creds
- Add support for
AWS_SSO_PROFILE
env var andProfileFormat
in config #48 - Auto-detect when local cache it out of date and refresh #59
- Add support for
cache
command to force refresh AWS SSO data - Add support for
renew
command to refresh AWS credentials in a shell #63 - Rename
--refresh
flag to be--sts-refresh
- Remove
--force-refresh
flag fromlist
command - Add role metadata when selecting roles #66
v1.1.0 - 2021-08-22
- Move role cache data from SecureStore into json CacheStore #26
exec
command will abort if a conflicting AWS Env var is set #27- Add
time
command to report how much time before the current STS token expires #28 - Add support for printing Arn in
list
#33 - Add
console
support to login to AWS Console with specified role #36 -c
no longer is short flag for--config
v1.0.1 - 2021-07-18
- Add macOS/M1 support
- Improve documentation
- Fix
version
output - Change
exec
prompt to work around go-prompt bug - Typing
exit
now exits without an error - Add help on how to exit via
exit
or ctrl-d
v1.0.0 - 2021-07-15
Initial release