v5.0.0
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
-
gstsis now acredential_processprovider and should not called manually anymore.The
~/.aws/configshould similar to the below:[default] credential_process = gsts --idp-id=12345 --sp-id=67890 -
Credentials are no longer stored under
~/.aws/configbut instead undergstsown cache directory (~/Library/Caches/gstson macOS,%LOCALAPPDATA%\gsts\Cacheon Windows and~/.cache/gstson 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_processsetup. -
Playwright-specific parameters (
--engine-executable-path,--engine) have had--playwrightadded to them to make it more explicit on what they achieve (--playwright-engine-executable-pathand--playwright-engine).
New Features
- Add support for cacheless operation mode with
--no-credentials-cache. - Add support for processing the following AWS CLI variables:
AWS_REGIONAWS_DEFAULT_REGIONAWS_PROFILE
- Add support for configuring
gstsunder~/.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
gstsa 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
- Bump
playwright@1.32.2.