★ Release Notes: 2026-11-19 ★ ≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡ Thanks for upgrading to the latest version of the ALKS CLI! * Fix: `alks sessions open -o terraformenv` now prints the ALKS-prefixed variables (ALKS_ACCESS_KEY_ID, ALKS_SECRET_ACCESS_KEY, ALKS_SESSION_TOKEN, ALKS_SESSION_EXPIRES) as documented. A typo in the format name made it print the default AWS_-prefixed variables instead, the same as the default output. `-o terraformarg` was not affected. * Fix: the update check no longer logs a registry URL it cannot parse with its credentials showing, and when it cannot read an npm configuration file the warning now names that file. * Fix: the update check now asks the npm registry set in your own npm configuration (`~/.npmrc`, the global npmrc, or `npm_config_registry`) instead of always asking registry.npmjs.org, and uses the login, TLS certificate and proxy settings from that configuration. With CAI Artifactory set up in `~/.npmrc`, as the install guidance asks, the update check works behind Zscaler with no certificate workaround. A `.npmrc` in the directory you run `alks` from is not read (when run through `npx` or an npm script, npm itself passes that project's registry along). The check now waits up to 3 seconds, and if the registry rejects your login (401 or 403) the warning says so. * Fix: a failed update check no longer fails your command. Behind a TLS-inspecting proxy such as Zscaler, the request to the npm registry can fail with "unable to get local issuer certificate", and commands like `alks developer accounts` would print their output and then exit with that error. The CLI now prints a WARNING and finishes normally. To make the update check itself work behind Zscaler, point Node at the Zscaler root certificate. On macOS: security find-certificate -c "Zscaler Root CA" -p /Library/Keychains/System.keychain > ~/zscaler-root.pem export NODE_EXTRA_CA_CERTS="$HOME/zscaler-root.pem" Add the `export` line to your shell profile to keep it. On other platforms, export the Zscaler root certificate as a PEM file and set `NODE_EXTRA_CA_CERTS` to its path. ★ Release Notes: 2026-08-25 ★ ≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡ Thanks for upgrading to the latest version of the ALKS CLI! * Fixed an issue where `alks session console --ciid`, `--activity-type`, and `--description` flags were silently ignored, causing a "change request number or primary CI must be provided" error on production accounts that require change tickets. The flags are now correctly forwarded to the key generation request. * `alks session console` now rejects empty or whitespace-only `--ciid`, `--activity-type`, and `--description` values up front, matching the validation `alks session open` already performed, instead of forwarding them to ALKS and failing there. ★ Release Notes: 2026-08-11 ★ ≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡ Thanks for upgrading to the latest version of the ALKS CLI! * ChangeMinder flags (--ciid, --activity-type, --description, --chg-number) can now be supplied via environment variables (ALKS_CHANGE_CIID, ALKS_CHANGE_ACTIVITY_TYPE, ALKS_CHANGE_DESCRIPTION, ALKS_CHANGE_NUMBER). CLI arguments take precedence over environment variables. ★ Release Notes: 2026-08-04 ★ ≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡ Thanks for upgrading to the latest version of the ALKS CLI! * Fix (Windows): `alks developer configure` can store your refresh token in the OS keychain again. On Windows, 4.1.0 failed with "Value of 'password encoded as UTF-16' is longer than the platform limit of 2560 chars" and fell through to the plaintext-file prompt. The keychain backend encoded the token as UTF-16 before checking it against Windows Credential Manager's 2560-byte credential limit, which capped a token at 1280 characters — shorter than any real ALKS refresh token (~1700 characters). Tokens are now written as raw UTF-8 bytes, which is both what `keytar` did before it was replaced and what makes the full 2560-byte limit usable. * Fix (Windows): a refresh token already in Credential Manager now reads back correctly instead of as unusable garbled text. 4.1.0 decoded the stored credential as UTF-16, so tokens written by earlier `keytar`-based versions came back corrupted without raising an error — the CLI simply failed to authenticate with no useful explanation. Reads now handle both encodings, so upgrading from any prior version keeps working without reconfiguring. macOS and Linux are unaffected by both fixes; tokens already stored there continue to work without reconfiguring. ★ Release Notes: 2026-07-31 ★ ≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡ Thanks for upgrading to the latest version of the ALKS CLI! * Fix: `alks developer configure` again stores your refresh token in the OS keychain on Node 24. The CLI previously depended on `keytar`, which ships no prebuilt binary for Node 24 (the version the CLI builds and releases with); the native module failed to load and the keychain path silently fell back to plaintext token storage. The keychain backend is now `@napi-rs/keyring`, whose ABI-stable Node-API prebuilds cover every supported Node version on macOS, Windows, and Linux. * Fix: when the OS keychain genuinely can't be used, the CLI now reports the real underlying reason instead of the misleading "No keychain could be found for storing the token" — so failures are self-diagnosing without needing `-v`. The plaintext-file fallback still exists as a last resort for headless/unsupported environments. BREAKING CHANGE: the supported Node version floor (`engines.node`) is now `>=20`, matching the CI/release matrix (Node 20, 22, 24). Node 16 and 18 are end-of-life and are no longer supported. * Note (Linux): as with the previous keychain backend, `libsecret` must be present at runtime for OS keychain storage on Linux (e.g. `libsecret-1-0`). ★ Release Notes: 2026-07-23 ★ ≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡ Thanks for upgrading to the latest version of the ALKS CLI! * Fix: `alks developer login2fa` and `alks developer configure` now validate the refresh token you enter. A regression in 4.0.0 caused the CLI to attempt the token exchange with an empty token, so every attempt failed with "Failed to exchange refresh token with all available identity providers" — even with a valid, freshly generated token. Re-run `alks developer login2fa` to authenticate. ★ Release Notes: 2026-07-21 ★ ≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡ Thanks for upgrading to the latest version of the ALKS CLI! * CI/release: releases are now also published to the internal Artifactory registry (cai-npm-local) in addition to npmjs.com, so new versions are immediately available to internal consumers. No change to CLI behavior. ★ Release Notes: 2026-07-20 ★ ≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡ Thanks for upgrading to the latest version of the ALKS CLI! BREAKING CHANGE: Basic (network password) authentication has been removed. Only token-based authentication remains — refresh-token (OAuth2) and credential-process. Removed: * The `password` and `always-ask` auth types. `alks developer configure` now offers only `refresh-token` and `credential-process`. * The `ALKS_PASSWORD` environment variable. * The authentication `-p, --password` flags. * The `-u, --username` flag on `alks developer configure`. * The `alks developer logout` command (use `alks developer logout2fa`). * Keystore password storage. * `credential_process` scripts that emit a `password` — emit a `refresh_token` instead. `alks developer login` now returns a directed error; run `alks developer login2fa` to authenticate with a refresh token. ★ Release Notes: 2026-06-11 ★ ≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡ Thanks for upgrading to the latest version of the ALKS CLI! * Migrate source repo to GHE (ghe.coxautoinc.com/ETS-CloudAutomation/alks-cli) * Fix publish pipeline for GHE compatibility * Fix CI pipeline to use Repository Admin bypass for version bump push ★ Release Notes: 2026-05-29 ★ ≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡ Thanks for upgrading to the latest version of the ALKS CLI! * Updated the README's Artifactory setup instructions to use the "Set Me Up" flow on artifactory.coxautoinc.com (npm / cai-npm) instead of manually editing ~/.npmrc. ★ Release Notes: 2026-05-22 ★ ≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡ Thanks for upgrading to the latest version of the ALKS CLI! * Fixed an issue where `alks developer configure` could silently fail to persist new settings when the local config store contained an empty account record, requiring users to delete the file manually to recover. * Optional post-configure steps (such as shell tab completion installation) no longer abort the configure command with a misleading "Error configuring developer:" message when they fail. Failures are now reported as warnings and the configuration is preserved. ★ Release Notes: 2026-04-20 ★ ≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡ Thanks for upgrading to the latest version of the ALKS CLI! * Updated npm-shrinkwrap.json to match package.json dependencies. ★ Release Notes: 2026-04-17 ★ ≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡ Thanks for upgrading to the latest version of the ALKS CLI! * Fixed error handling in IAM key retrieval to propagate server error messages instead of always showing a generic "Incorrect account or role" message. ★ Release Notes: 2026-04-09 ★ ≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡ Thanks for upgrading to the latest version of the ALKS CLI! * CHANGE_NUMBER is now included in all key output formats when a ChangeMinder ticket is present. - Supported formats: docker, terraformarg, terraformenv, idea, json, aws, powershell, fishshell, linux, export/set - CHANGE_NUMBER is omitted entirely when no change number is provided ★ Release Notes: 2026-02-26 ★ ≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡ Thanks for upgrading to the latest version of the ALKS CLI! * Added real-time search/filter to account selection prompt. - Type to filter accounts by alias or account ID instead of scrolling - Uses case-insensitive substring matching ★ Release Notes: 2026-02-24 ★ ≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡ Thanks for upgrading to the latest version of the ALKS CLI! * Added deprecation warning for Basic Authentication (US1879500). - A warning banner now appears whenever a command runs using basic auth (network password) - Basic Authentication will be retired on May 3rd; please migrate to OAuth2 via `alks developer configure` Have feedback? https://github.com/Cox-Automotive/ALKS-CLI/issues ☁☁☁☁☁☁ Happy Clouding! ☁☁☁☁☁☁