Repository navigation
Releases
Releases · cyberark/idsec-cli-golang
v0.15.0
idsec-cli-golang - v0.15.0 (November 22, 2026)
Features
- Agent mode: the CLI can now be driven reliably by AI coding agents and scripts. In agent mode, output is machine-readable, color is off, prompts and confirmations never block, and errors and successful results are emitted as structured JSON.
- Enable it with the new global
--agentflag, or theIDSEC_AGENT_MODE=trueenvironment variable.IDSEC_FORCE_AGENT_MODE=truealso forces it on. - Use
--no-agent(mutually exclusive with--agent) to turn it off. - It turns on automatically when a known AI coding agent is detected in the environment, such as Claude Code, Cursor, Codex, Aider, Cline, Windsurf, Copilot, Amazon Q, Gemini and Cody.
- Precedence: flags →
IDSEC_FORCE_AGENT_MODE→IDSEC_AGENT_MODE→ auto-detection → off.
- Enable it with the new global
- Access Request Service (ARS): new
idsec exec ars requestscommands to manage access requests:submit,list,list-by,get,stats,cancel,finalizeandlist-request-forms.submitsupports theVM,CLOUD_CONSOLEandGROUPtarget categories, and--poll/--wait-until-finishedto wait for the outcome. See the new ARS workflow guide and examples in the docs.
Enhancements
idsec sca k8s generate-kubeconfigandidsec kubectl-login: when the server rejects an outdated CLI, they now print a short message showing the current and required CLI versions instead of a raw error.generate-kubeconfigreports the mismatch once rather than once per cloud provider.idsec kubectl-loginandidsec sca k8s generate-kubeconfig: failures and diagnostics are now also recorded in~/.idsec/logs/idsec-cli.log.idsec kubectl-login(Azure clusters): improved browser-based sign-in handling when Azure CLI (az) launches the CLI as its browser helper.idsec exec: with--agentor--silent,--page-sizenever pauses for input, and the output is always a single JSON array, even when stdout is a terminal.
Bug Fixes
idsec profiles show|clone|edit|delete: now exit with code 1 when the profile doesn't exist or can't be read, with the reason on stderr and nothing on stdout.deleteandclonealso exit with code 1 when--profile-nameis empty, andadddoes the same when--profile-pathis empty.idsec kubectl-login: an active Kubernetes session now continues until it expires, even if the eligibility window has since closed.idsec kubectl-login: after an authentication failure (HTTP 401), the cached credentials for that cluster and role are now cleared. Other clusters' caches are left intact.
Install
docker pull cyberark/idsec-cli-golang:0.15.0Full diff: v0.14.1...v0.15.0
v0.14.1
idsec-cli-golang - v0.14.1 (October 28, 2026)
Bug Fixes
idsec exec sca k8s generate-kubeconfig: fixed subcommand handler registration so parallel multi-CSP kubeconfig generation and local file writing execute as expected instead of falling back to the generic service handler.idsec exec sca k8s elevate: fixed subcommand handler override so direct invocation properly exits with a not-supported error.
Install
docker pull cyberark/idsec-cli-golang:0.14.1Full diff: v0.14.0...v0.14.1
v0.14.0
idsec-cli-golang - v0.14.0 (October 25, 2026)
⚠ Breaking Changes
- Diagnostics and error messages moved to
stderr: failure messages, warnings, retry notices,--verboselogs, and usage errors are now written tostderrsostdoutcarries only command results; scripts that parsedstdoutfor failure text should check the exit code or readstderrinstead. idsec execexit codes: failed actions, missing profiles, expired sessions, and failed--dry-runinvocations now exit with code1instead of0.idsec sia access connector-setup-script: replaced--k8s-detailswith flat flags (--upgrade,--k8s-username,--k8s-password,--k8s-replicas,--k8s-namespace,--k8s-image-uri,--k8s-image-pull-secret) and made--connector-pool-idoptional.idsec sia access uninstall-connector: replaced--k8s-namespacewith--k8s-detailsfork8s-ephemeralconnectors so the same Kubernetes configuration object used at install time can be passed when uninstalling.
Deprecations
--connector-typeonidsec sia access connector-setup-script: deprecated — omit this flag.
Features
- Shell autocompletion (
idsec completion): generate autocompletion scripts forbash,zsh,fish, andpowershell, with tab-completion support across bothidsec <service> ...andidsec exec <service> ...command forms.
Enhancements
idsec sca group-access list-targets/elevate:--cspnow acceptsGCPin addition toAZUREfor listing and elevating into Google Cloud groups, with a new--organization-idflag onelevate.idsec policy group-access create-policy/update-policy: added Google Cloud group target support via--targets(gcp_targets).idsec policy vm/idsec policy db(create-policy/update-policy): added--conditionsoverride fields (override_idle_time,override_max_session_duration, and for VM policiesoverride_recordingandrecording).idsec pcloud accounts get-by-name: new--safe-nameflag to scope account lookup to a specific Safe, with exact-name matching when the search endpoint returns partial matches.
Bug Fixes
idsec cache clear: now clears all cached credentials from the OS keystore (including on Windows) as well as the file-backed cache, and exits with an error if clearing fails instead of failing silently.idsec kubectl-login(AWS IAM Identity Center): validates the server-supplied SSO region before making OIDC calls and applies configured proxy and CA settings to AWS IDC requests.idsec sia access install-connector: returns a deterministic connector ID (k8s-ephemeral:<namespace>) when installingk8s-ephemeralconnectors.idsec sia k8s generate-cluster-config: returns a structured{"kubeconfig_path": "..."}result object instead of a bare string.
Install
docker pull cyberark/idsec-cli-golang:0.14.0Full diff: v0.13.0...v0.14.0
v0.13.0
idsec-cli-golang - v0.13.0 (October 11, 2026)
Features
- New subcommand group:
idsec identity tenant-suffixes— manage tenant login suffixes withcreate,get,list,list-by,update(rename), anddelete. - New subcommand:
idsec sia k8s list-clusters— list the Kubernetes clusters available to you, optionally saving them to a JSON file with--output-file. - New subcommand:
idsec sia k8s generate-cluster-config— generate a kubeconfig for the clusters in a--clusters-file, with per-cluster reasons or a single--reason-to-all.
Enhancements
idsec sia secrets vm create/change: new--domain-controller-automatic-discoveryflag to discover the domain controller automatically instead of naming it.idsec sia secrets vm create/change: new--domain-controller-ldaps-load-all-certificatesand--winrm-load-all-certificatesflags to validate against all certificates in the store instead of a single certificate ID.idsec sia workspaces db create-target/update-target:--domain-controller-namenow accepts a comma-separated list of domain controllers.idsec pcloud target-platforms import: fails early with a clear error once the tenant reaches the supported maximum of 800 target platforms.
Bug Fixes
idsec sca k8s(AWS IAM Identity Center): cached SSO refresh tokens are now bound to the Elevate session and discarded once that session changes or ends, so credentials from a previous session are no longer reused.idsec sca k8s generate-kubeconfig: fixed request-signature validation failures when the kubeconfig is generated through the SIA endpoint.- Authentication: an expired cached token no longer prevents other services in the same command from initializing; the token is refreshed on the next request instead.
Install
docker pull cyberark/idsec-cli-golang:0.13.0Full diff: v0.12.1...v0.13.0
v0.12.1
idsec-cli-golang - v0.12.1 (September 29, 2026)
Bug Fixes
idsec kubectl-login: on Windows, the Azure CLI sign-in it runs for AKS cluster access now opens in your default browser instead of the Web Account Manager (WAM) account picker; your ownazcommands are unaffected.
Full diff: v0.12.0...v0.12.1
v0.12.0
idsec-cli-golang - v0.12.0 (September 27, 2026)
Deprecations
--cluster-tokenonidsec kubectl-login: deprecated — use--cluster-contextinstead; kubeconfigs generated before this release that still pass--cluster-tokenkeep working, and--cluster-contexttakes precedence when both are set.
Bug Fixes
idsec kubectl-login(AKS): Azure sign-in now uses the cloud identity the elevation was granted to, so login succeeds when your organization maps your Identity Security Platform user to a different Azure account, and Azure CLI errors are shown as-is instead of being wrapped.
Notes
- The SCA Kubernetes how-to guide now includes installation steps for
kubectland, for AKS clusters, the Azure CLI (az), plus updated guidance on which accountaz loginmust use. - Corrected the SCA documentation for
idsec sca group-access elevate: the--groupslimit is 5 group IDs per call, not 50. CLI behavior is unchanged.
Install
docker pull cyberark/idsec-cli-golang:0.12.0Full diff: v0.11.2...v0.12.0
v0.11.2
idsec-cli-golang - v0.11.2 (September 23, 2026)
Bug Fixes
- Windows release archives: packaged as
.zipinstead of.tar.gz, enabling installation viawinget.
Install
docker pull cyberark/idsec-cli-golang:0.11.2Full diff: github.com/cyberark/idsec-cli-golang/compare/v0.11.1...v0.11.2
v0.11.1
OLY-0000: sca k8s cli documentation (v0.11 hotfix)
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
v0.10.0
idsec-cli-golang - v0.10.0 (August 30, 2026)
Features
- New command group:
idsec sia doctor— end-to-end SIA health checks covering network reachability, TLS certificate trust, and connector backend health, rendered as a formatted terminal report:idsec sia doctor check-client— client → SIA gateway/relay reachability, with TLS validated against the OS trust store.idsec sia doctor check-target— connector → target reachability across all flows, with TLS validated against your tenant certificates.idsec sia doctor check-connector— connector → SIA backend reachability.idsec sia doctor check-domain-controller— connector → domain-controller reachability over Kerberos, LDAP, LDAPS, and RDP.idsec sia doctor check— all of the above in a single pass with a merged report.
Enhancements
idsec exec: new--formatflag (autoorjson) —autouses a service's own renderer when one exists and falls back to JSON,jsonalways emits JSON.idsec sca k8s kubectl-login: a live spinner now reports each stage of the cold-start path — verifying the session, checking eligibility, requesting elevation, and acquiring cloud credentials.idsec sca k8s kubectl-login: proxy public keys are fetched in parallel, shortening login time.idsec cache clear: now clears cached credentials from whichever keyring is in use, including the OS keystore; previously only the file-backed keyring was handled.IDSEC_KEYRING_KEY_FILE: new environment variable setting the path to the key material protecting the file-backed keyring. It defaults to$HOME/.idsec/keys/keyring.keyand is set independently ofIDSEC_KEYRING_FOLDER.
Bug Fixes
idsec upgrade: correctly detects and applies newly published versions.idsec sca k8s generate-kubeconfig: writes an empty but valid kubeconfig when a cloud provider has no eligible targets, so a stale file from an earlier run is no longer left behind.
Install
docker pull cyberark/idsec-cli-golang:0.10.0Full diff: v0.9.0...v0.10.0