Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

Keeper Commander

$ keeper Official High Risk
Keeper Security · Security & Secrets · MIT · macos / linux / windows

Keeper 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.

FCRS-1.0 Score
79 /100
Good
Medium Confidence
Zero-Friction Install
pip install keepercommander
CLI vs MCP Decision CLI Preferred vs MCP

keeper offers full KeeperPAM rotation, record queries, and audit exports via --format=json using local encrypted device state.

Agent-Readiness Checklist

✓ JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
— NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 19 / 25

Supports --format=json and one-shot subcommand invocation, though unauthenticated or bare invocations launch an interactive keeper shell or 2FA/SSO prompt.

  • Native --format=json across list, get, and audit commands
  • Interactive shell/2FA prompts when persistent config.json is missing
Trust & Safety 18 / 25

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
Setup & Portability 11 / 15

Distributed via PyPI (keepercommander) and installers, with sizable Python dependency tree and initial device/2FA onboarding.

  • PyPI package + standalone installers with heavy Python dependencies
Utility & Efficiency 13 / 15

Broad enterprise vault, compliance reporting, and PAM automation capabilities in one CLI.

  • Unifies vault CRUD, audit logs, and KeeperPAM rotation
Maintenance & Lineage 10 / 10

Official Keeper Security CLI (Keeper-Security/Commander) under MIT license with frequent releases.

  • First-party Keeper-Security/Commander repository
Docs & Verifiability 8 / 10

Extensive enterprise documentation at docs.keeper.io covering Commander commands and JSON flags.

  • Official docs at docs.keeper.io

Security, Auth & Guardrails

Auth Modes
Config File OAuth Browser Env API Key
Credential Storage

Stores persistent device tokens and encrypted session parameters in ~/.keeper/config.json (passable via --config).

Side Effects
Read-Only Local Write Remote Write Destructive
Cost & Quotas

MIT open-source CLI; requires a Keeper Security / KeeperPAM subscription.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# 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

List vault records as JSON
keeper --config ~/.keeper/config.json list --format=json

Authenticates via --config and lists accessible vault record metadata in JSON via --format=json.

Fetch a single record field as JSON
keeper --config ~/.keeper/config.json get <record-uid> --format=json

Retrieves record details for <record-uid> in structured JSON format.

Controlled Writes & Previews

Trigger PAM credential rotation on a record
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=json support across vault queries, compliance reports, and PAM controls.
  • + Persistent device config.json enables unattended CI/agent runs after initial approval.

Caveats & Pitfalls

  • ! Initial authentication requires interactive master password/SSO/2FA setup before config.json works headlessly.
  • ! Running keeper without a subcommand enters an interactive REPL (keeper shell).

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI