Repository navigation
v0.11.0
idsec-cli-golang - v0.11.0 (September 14, 2026)
Features
- New subcommand:
idsec status— reports, per configured authenticator, whether you are authenticated along with username, endpoint, token expiry and time left. It reads local state only (profile plus cached keyring token), so it never triggers a login or a network call. Supports--json, and--quietfor exit-code-only scripting (0authenticated,2profile missing,3no authenticators,4not authenticated,5token expired). - New subcommand:
idsec query— runs a jq expression against JSON produced by an idsec command, read from--pathor stdin, evaluated in-process so thejqbinary is not required. Supports-n/--null-input, repeatable--arg/--argjsonbindings, and--raw. - Credentials file for
idsec login— an INI.idsecrcwith one section per profile supplies<authenticator>_username/<authenticator>_secretfor non-interactive logins. Auto-discovered from./.idsecrc,./.idsec/.idsecrc,~/.idsec/.idsecrcor~/.idsecrc, or named explicitly with--credentials-file/IDSEC_CREDENTIALS_FILE.
Enhancements
idsec exec: new--querywith repeatable--arg/--argjsonvariable bindings applies a jq expression to a command's JSON output, taking precedence over--formatand service-defined formatters.idsec exec: new--dry-runprints a JSON plan — operation, profile, resolved arguments with secrets masked, and the list of secret fields — without authenticating, loading a profile, or executing the action;--request-filevalues are merged into the plan.idsec login: new--query(implies--show-tokens) filters the JSON token output, so a single value such as a token or expiry can be captured directly.idsec login: credentials can now be supplied throughIDSEC_<AUTHENTICATOR>_USERNAME,IDSEC_<AUTHENTICATOR>_SECRET, andIDSEC_<AUTHENTICATOR>_SECRET_FILE(a0600file, preferred over putting the secret in the environment); resolution order is flag → environment variable →.idsecrc→ profile.idsec login: failures now exit non-zero and print a stable, greppable line to stderr —idsec: login failed reason=<REASON>with reasons includingPROFILE_NOT_FOUND,USERNAME_REQUIRED,SECRET_REQUIRED,CONFIG_ERROR,MFA_REQUIRED,ENDPOINT_UNREACHABLE,CERTIFICATE_ERRORandKEYRING_FAILURE— so scripts can branch without parsing prose.idsec login: new--no-credentials-filedisables.idsecrcauto-discovery, so a credentials file is read only when you name it explicitly.idsec configure: new--dry-runvalidates and prints the profile that would be saved without writing it, and new--query/--arg/--argjsonfilter the profile JSON; the two flags compose.idsec profiles list: new--query/--arg/--argjsonfilter the listed profiles, and an empty result set is always a valid[]rather thannull.--raw: in addition to disabling colored output, it now prints a top-level string result unquoted when used with--query(likejq -r), which keeps a captured scalar clean.
Install
docker pull cyberark/idsec-cli-golang:0.11.0Full diff: v0.10.0...v0.11.0