Keeper Commander
$ keeper Official High RiskKeeper Commander (keeper) is Keeper Security's official CLI and SDK for managing enterprise password vaults, SSH/DB rotation, KeeperPAM tunnels, and compliance audits. Supports batch command execution and --format=json output once an authorized config.json device session is established.
pip install keepercommander keeper offers full KeeperPAM rotation, record queries, and audit exports via --format=json using local encrypted device state.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Supports --format=json and one-shot subcommand invocation, though unauthenticated or bare invocations launch an interactive keeper shell or 2FA/SSO prompt.
- Native
--format=jsonacrosslist,get, and audit commands - Interactive shell/2FA prompts when persistent
config.jsonis missing
Enterprise RBAC and encrypted config.json device tokens provide strong governance, though vault reads emit secrets and PAM rotation is mutating.
- Device-bound persistent login with enterprise RBAC
- Supports destructive deletes and live PAM credential rotation
Distributed via PyPI (keepercommander) and installers, with sizable Python dependency tree and initial device/2FA onboarding.
- PyPI package + standalone installers with heavy Python dependencies
Broad enterprise vault, compliance reporting, and PAM automation capabilities in one CLI.
- Unifies vault CRUD, audit logs, and KeeperPAM rotation
Official Keeper Security CLI (Keeper-Security/Commander) under MIT license with frequent releases.
- First-party
Keeper-Security/Commanderrepository
Extensive enterprise documentation at docs.keeper.io covering Commander commands and JSON flags.
- Official docs at docs.keeper.io
Security, Auth & Guardrails
Stores persistent device tokens and encrypted session parameters in ~/.keeper/config.json (passable via --config).
MIT open-source CLI; requires a Keeper Security / KeeperPAM subscription.
# Keeper Commander (keeper) Agent Rules - Always pass `--config` (pre-authenticated persistent login) and `--format=json` so `keeper` does not drop into `keeper shell` or prompt for SSO/2FA. - Require explicit approval before running `pam action rotate`, `rm`, or `record-update`.
Agent-Ready Command Recipes
Safe Read-Only Queries
keeper --config ~/.keeper/config.json list --format=json
Authenticates via --config and lists accessible vault record metadata in JSON via --format=json.
keeper --config ~/.keeper/config.json get <record-uid> --format=json
Retrieves record details for <record-uid> in structured JSON format.
Controlled Writes & Previews
keeper --config ~/.keeper/config.json pam action rotate --record <record-uid>
Rotates the managed secret for <record-uid> through KeeperPAM.
Strengths for Agents
- + Comprehensive
--format=jsonsupport across vault queries, compliance reports, and PAM controls. - + Persistent device
config.jsonenables unattended CI/agent runs after initial approval.
Caveats & Pitfalls
- ! Initial authentication requires interactive master password/SSO/2FA setup before
config.jsonworks headlessly. - ! Running
keeperwithout a subcommand enters an interactive REPL (keeper shell).