Skip to content

Releases: theurichde/go-aws-sso

v1.3.1-dev.1

04 Jul 18:57
fd795d4
Compare
Choose a tag to compare
v1.3.1-dev.1 Pre-release
Pre-release

Changelog

  • 84d948f chore(deps): update actions/setup-go action to v4 (#110)
  • 3b8bcdf fix(deps): update all non-major dependencies
  • ab5144a fix(deps): update all non-major dependencies
  • 69bc1a8 fix(deps): update all non-major dependencies
  • 6e6b148 fix(deps): update all non-major dependencies
  • 450e073 fix(deps): update all non-major dependencies
  • f58dcce fix(deps): update all non-major dependencies
  • 765a24e fix(deps): update all non-major dependencies
  • 8d2aacd fix(deps): update module github.com/aws/aws-sdk-go to v1.44.219
  • f57a230 fix(deps): update module github.com/aws/aws-sdk-go to v1.44.224
  • 52d015a fix(deps): update module github.com/aws/aws-sdk-go to v1.44.239
  • 9a8c34f fix(deps): update module github.com/aws/aws-sdk-go to v1.44.244
  • f387b61 fix(deps): update module github.com/aws/aws-sdk-go to v1.44.248
  • 3a0abf7 fix(deps): update module github.com/aws/aws-sdk-go to v1.44.262
  • 983741a fix(deps): update module github.com/aws/aws-sdk-go to v1.44.280
  • 31c2d7b fix(deps): update module github.com/aws/aws-sdk-go to v1.44.289
  • afc02d7 fix(deps): update module github.com/aws/aws-sdk-go to v1.44.294
  • fd795d4 fix: disable annoying terminal bell sound

v1.3.0

10 Mar 16:19
30d584e
Compare
Choose a tag to compare

Changelog

  • 30d584e feat: allow config generation without user prompt (#105)
  • a684e02 fix(deps): update all non-major dependencies
  • f867785 fix(deps): update module github.com/aws/aws-sdk-go to v1.44.209
  • 97b2337 fix: use running executable name in credentialprocess template (#107)

Full Changelog: v1.2.0...v1.3.0

Special thanks to @fishgrimsby for his contributions! 🚀

v1.2.0

23 Feb 20:21
a465a2d
Compare
Choose a tag to compare

Features

  • Windows Subsystem for Linux (WSL) support
  • Windows amd64 and arm64 binaries are now available
  • Introduces "multiple profile capability"
    • Setting a profile via --profile flag adds or replaces the profile in the ~/.aws/credentials file
  • add a --debug flag to enable debug logging with caller output and stack traces
  • config file location has changed, the config now resides in $HOME/$CONFIG_DIR/go-aws-sso/config.yml

Bug fixes

  • Handle invalid session tokens properly
    • in rare cases, session tokens became invalid, leading to an empty list of accounts, which forced users to remove the token file via --force or manually
  • Region is not any longer hard-coded in the credentials file

What's Changed

  • Bump github.com/aws/aws-sdk-go from 1.44.96 to 1.44.150 by @dependabot in #68
  • Bump dependabot/fetch-metadata from 1.3.0 to 1.3.5 by @dependabot in #66
  • Bump github.com/valyala/fasttemplate from 1.2.1 to 1.2.2 by @dependabot in #64
  • Bump github.com/urfave/cli/v2 from 2.16.3 to 2.23.5 by @dependabot in #67
  • Bump goreleaser/goreleaser-action from 3 to 4 by @dependabot in #72
  • Bump github.com/urfave/cli/v2 from 2.23.5 to 2.23.7 by @dependabot in #73
  • Bump github.com/aws/aws-sdk-go from 1.44.150 to 1.44.171 by @dependabot in #74
  • Configure Renovate by @renovate in #75
  • fix(deps): update module github.com/aws/aws-sdk-go to v1.44.174 by @renovate in #78
  • fix(deps): update module github.com/aws/aws-sdk-go to v1.44.175 by @renovate in #79
  • fix(deps): update module gopkg.in/yaml.v2 to v3 by @renovate in #76
  • fix(deps): update module gopkg.in/yaml.v2 to v2.4.0 by @renovate in #80
  • fix(deps): update module github.com/aws/aws-sdk-go to v1.44.184 by @renovate in #89
  • fix(deps): update module github.com/urfave/cli/v2 to v2.24.1 by @renovate in #90
  • fix(deps): update module github.com/aws/aws-sdk-go to v1.44.185 by @renovate in #91
  • fix(deps): update module github.com/aws/aws-sdk-go to v1.44.186 by @renovate in #92
  • Add WSL support by @theurichde in #70
  • feat/several improvements by @theurichde in #93
  • fix(deps): update all non-major dependencies by @renovate in #94
  • fix wsl detection logic by @fishgrimsby in #97
  • Prevent overwriting existing ~/.aws/credentials by @fishgrimsby in #95
  • refactor: streamline the INI file writing by @theurichde in #98
  • fix(deps): update all non-major dependencies by @renovate in #99
  • fix: handle invalid session token by @theurichde in #100
  • refactor: adapt ini section writing by @theurichde in #101

New Contributors

Full Changelog: v1.1.0...v1.2.0

v1.2.0-dev.2

16 Feb 21:51
b992a7d
Compare
Choose a tag to compare
v1.2.0-dev.2 Pre-release
Pre-release

Changelog

  • e1d57cc Bump dependabot/fetch-metadata from 1.3.0 to 1.3.5 (#66)
  • ee64711 Bump github.com/aws/aws-sdk-go from 1.44.150 to 1.44.171 (#74)
  • 1438493 Bump github.com/aws/aws-sdk-go from 1.44.96 to 1.44.150 (#68)
  • a00dec7 Bump github.com/urfave/cli/v2 from 2.16.3 to 2.23.5 (#67)
  • f227932 Bump github.com/urfave/cli/v2 from 2.23.5 to 2.23.7 (#73)
  • cc66204 Bump github.com/valyala/fasttemplate from 1.2.1 to 1.2.2 (#64)
  • 54356de Bump goreleaser/goreleaser-action from 3 to 4 (#72)
  • adb1aa2 build: build with Go 1.19
  • 5c41e02 build: enable windows amd64 and arm64 builds
  • 1cefd66 chore(deps): update dependencies
  • 34b128c chore: Configure Renovate (#75)
  • 4f774bc chore: add missing dependency
  • fbc8105 ci(deps): run renovate once a week
  • b7daa2f ci: integrate go vet
  • a7cf831 ci: remove dependabot and depbot automerge
  • 4abe34b docs: Small cleanup and add --force to Readme
  • a4d7ccc docs: update readme and usage info for config.yml
  • c10e6b8 feat: Expose SSO methods
  • 2273629 feat: enable browser opening on WSL for Windows
  • b992a7d feat: prevent overwriting existing ~/.aws/credentials (#95)
  • a24ea88 fix(deps): update all non-major dependencies
  • ac080fc fix(deps): update module github.com/aws/aws-sdk-go to v1.44.174
  • 6a435f3 fix(deps): update module github.com/aws/aws-sdk-go to v1.44.175
  • 4cc0f4c fix(deps): update module github.com/aws/aws-sdk-go to v1.44.176
  • 46f0c88 fix(deps): update module github.com/aws/aws-sdk-go to v1.44.177
  • 25dfed6 fix(deps): update module github.com/aws/aws-sdk-go to v1.44.178
  • 5997005 fix(deps): update module github.com/aws/aws-sdk-go to v1.44.179
  • 7d36ad1 fix(deps): update module github.com/aws/aws-sdk-go to v1.44.180
  • 21cb911 fix(deps): update module github.com/aws/aws-sdk-go to v1.44.181
  • eb0ab47 fix(deps): update module github.com/aws/aws-sdk-go to v1.44.182
  • 3a8aa67 fix(deps): update module github.com/aws/aws-sdk-go to v1.44.183
  • cb1cb81 fix(deps): update module github.com/aws/aws-sdk-go to v1.44.184
  • b576939 fix(deps): update module github.com/aws/aws-sdk-go to v1.44.185
  • c79fcfd fix(deps): update module github.com/aws/aws-sdk-go to v1.44.186
  • 304351d fix(deps): update module github.com/urfave/cli/v2 to v2.24.1
  • 8088d13 fix(deps): update module gopkg.in/yaml.v2 to v2.4.0
  • 7e0c62b fix(deps): update module gopkg.in/yaml.v2 to v3 (#76)
  • 151671b fix: adapt WSL detection logic (#97)
  • 553bc87 fix: replace hardcoded region in persisted credentials with a parameter
  • c5d5c7f refactor: adapt logging time layout
  • 732128e refactor: implement uber/zap for logging and debugging
  • 949dd95 refactor: switch from deprecated ioutils to os
  • 5823f13 refactor: use directly os.Read/WriteFile instead of deprecated ioutils

v1.2.0-dev.1

01 Dec 19:06
3094af5
Compare
Choose a tag to compare
v1.2.0-dev.1 Pre-release
Pre-release

Changelog

  • e1d57cc Bump dependabot/fetch-metadata from 1.3.0 to 1.3.5 (#66)
  • 1438493 Bump github.com/aws/aws-sdk-go from 1.44.96 to 1.44.150 (#68)
  • a00dec7 Bump github.com/urfave/cli/v2 from 2.16.3 to 2.23.5 (#67)
  • cc66204 Bump github.com/valyala/fasttemplate from 1.2.1 to 1.2.2 (#64)
  • e5816ea build: build with Go 1.19
  • 1ee0b94 build: enable windows amd64 and arm64 builds
  • 3094af5 chore: add missing dependency
  • 4abe34b docs: Small cleanup and add --force to Readme
  • bffbf38 feat: enable browser opening on WSL for Windows

v1.1.0

12 Oct 19:01
Compare
Choose a tag to compare

What's new

A --force flag is available to enforce the request of a new temporary access token

Changelog

  • dca65f2 feat: add a --force flag to remove the temporary access token file

v1.0.0

16 Aug 14:04
Compare
Choose a tag to compare

What's new?

The biggest change is, that go-aws-sso now utilizes the AWS credential_process to provide short living credentials to the tool that calls the AWS API. This means, that there are no longer any expired credentials lying around on your disk.

That said: No short living credentials at all are lying around anymore 🥳

If you still want or need to have the creds persisted on disk, you can easily achieve that by using the --persist flag. This gives you the old behavior with written creds in ~/.aws/credentials

Changelog

  • bc80ac0 feat: Use credential process instead of writing the credentials to disk
  • b6526ec fix: Display up to 1000 accounts as the default 20 aws too little
  • c5f3344 refactor: Move the config file to os.ConfigDir()/go-aws-sso

v0.6.1

08 Aug 15:27
Compare
Choose a tag to compare

Changelog

  • 735b929 fix: Start URL flag is not interpreted correctly when a previous different start URL was already set
  • 50b7056 refactor: Adapt Usage info for assume command

v0.6.0

29 Apr 18:57
Compare
Choose a tag to compare

Changelog

  • feat: Automatically open auth URL

    • Automatically open the AWS authentication URL in the OS standard browser
  • fix: Add new line after last line in credentials file

v0.5.0

18 Mar 19:07
Compare
Choose a tag to compare

Changelog

  • 954f4c0 [feature] Accounts are sorted by account name ascending
  • 4c16c0a [feature] Print version via -v or --version