gsts

Obtain and store AWS STS credentials to interact with Amazon services by authenticating via G Suite SAML.

MIT License

Downloads
262
Stars
201
Committers
14

Bot releases are visible (Hide)

gsts - v5.0.4 Latest Release

Published by ruimarinho 10 months ago

Changelog

  • Bump dependencies.
  • Fix engines.node version constraint on package.json.
gsts - v5.0.3

Published by github-actions[bot] 10 months ago

Changelog

  • Bump dependencies.
gsts - v5.0.2

Published by github-actions[bot] about 1 year ago

Changelog

Improvements

  • Fix issue preventing interactive (headful) mode from being triggered when the Account Chooser dialog was being presented on Google authentication systems.
gsts - v5.0.1

Published by github-actions[bot] over 1 year ago

Changelog

Improvements

  • Fix issues with using multiple AWS profiles.

Notable Updates

gsts - v5.0.0

Published by ruimarinho over 1 year ago

This version introduces a major shift of gsts to a credential_process provider - so much, in fact, that its internal structure has been completely adapted to behave like one by default.

As part of this refactor, there are a number of breaking changes too.

Breaking Changes

  • gsts is now a credential_process provider and should not called manually anymore.

    The ~/.aws/config should similar to the below:

    [default]
    credential_process = gsts --idp-id=12345 --sp-id=67890
    
  • Credentials are no longer stored under ~/.aws/config but instead under gsts own cache directory (~/Library/Caches/gsts on macOS, %LOCALAPPDATA%\gsts\Cache on Windows and ~/.cache/gsts on Linux) .

  • All command line parameters are now overridable by corresponding environment variables with the GSTS_ prefix.

  • Remove --google-* aliases.

  • Remove support for node < 18.

  • Daemon support has been removed in favor of the credential_process setup.

  • Playwright-specific parameters (--engine-executable-path, --engine) have had --playwright added to them to make it more explicit on what they achieve (--playwright-engine-executable-path and --playwright-engine).

New Features

  • Add support for cacheless operation mode with --no-credentials-cache.
  • Add support for processing the following AWS CLI variables:
    • AWS_REGION
    • AWS_DEFAULT_REGION
    • AWS_PROFILE
  • Add support for configuring gsts under ~/.aws/config (or any other directory configured via $AWS_CONFIG_FILE).
  • Add support for setting the playwright engine channel via --playwright-engine-channel.
  • Store SAML assertion in cache for further automation power.

Improvements

  • Migrated to AWS SDK v3.
  • Fix headless hang when Google forces interactive login mode.
  • Logging has been reworked to make gsts a lot less verbose and respect non-TTY sessions more accurately.
  • Set permissions for credentials file for read-write to the owner only (600).

Notable Updates

gsts - v4.1.0

Published by github-actions[bot] about 2 years ago

Changelog

  • Add support for Okta
  • Sort by ARN when interactively prompting so that accounts are grouped together when multiple roles exist
gsts - v4.0.1

Published by github-actions[bot] almost 3 years ago

Changelog

  • Fix authentication request redirect getting stuck after successful logins
gsts - v4.0.0

Published by github-actions[bot] almost 3 years ago

Changelog

  • Add support for macOS Monterey
gsts - v3.0.7

Published by github-actions[bot] almost 3 years ago

Changelog

  • Improve error logging messages
gsts - v3.0.6

Published by github-actions[bot] almost 3 years ago

Changelog

  • Prevent hanging logins to non-default regions
  • Add release workflow to update homebrew formula
gsts - v3.0.5

Published by github-actions[bot] over 3 years ago

Changelog

  • Fix console hanging when multiple roles are available
gsts - v3.0.4

Published by github-actions[bot] over 3 years ago

Changelog

⚠️ Warning: Final resolution of the hanging issue was only fully mitigated on v3.0.5.

  • Add workaround for hanged console after authentication
gsts - v3.0.3

Published by github-actions[bot] over 3 years ago

Changelog

  • Fix daemon issues with --engine-executable-path=null
gsts - v3.0.2

Published by github-actions[bot] over 3 years ago

Changelog

gsts - v3.0.1

Published by github-actions[bot] over 3 years ago

Changelog

  • Add additional logging for debugging purposes
gsts - v3.0.0

Published by github-actions[bot] over 3 years ago

Changelog

  • Refactored to replace puppeteer by playwright, a more modern and reliable framework automation.
gsts - v2.4.4

Published by github-actions[bot] over 3 years ago

Changelog

⚠️ Warning: persistence session storage isn't working properly in this version. Downgrade to v2.4.3 if you don't want to see the Chromium window every time a session reauthentication is needed.

gsts - v2.4.3

Published by github-actions[bot] about 4 years ago

Changelog

  • Add configurable puppeteer executable path
  • Add more node compatibility fixes
gsts - v2.4.2

Published by ruimarinho about 4 years ago

Changelog

  • Add note about reported aws-cli workaround
  • Fix mkdirp issues on Windows platforms
gsts - v2.4.1

Published by ruimarinho over 4 years ago

Changelog

Maintenance release

  • Fix a failing test when testing JSON output.
Package Rankings
Top 8.17% on Proxy.golang.org
Top 10.6% on Npmjs.org
Related Projects