Keeper Commander
$ keeper 官方出品 高风险Keeper Commander(keeper)是 Keeper Security 官方命令行工具与 SDK,用于管理企业密码库、SSH/数据库轮转、KeeperPAM 隧道与合规审计。在完成授权设备 config.json 初始化后,支持批处理子命令与 --format=json 输出。
pip install keepercommander keeper 依托本地加密设备状态即可通过 --format=json 完成 KeeperPAM 轮转、记录查询与审计导出,适合直接走 CLI。
Agent 友好度体检单
当前为静态评估(本机尚未安装或尚未运行探针)。可在本地运行 npm run data:probe 并提交 data/probes/ 升级为实测证据。
FCRS-1.0 六维评分拆解
支持 --format=json 与单次子命令调用,但未认证或无子命令启动时会进入交互式 keeper shell 或触发 SSO/2FA 提示。
- Native
--format=jsonacrosslist,get, and audit commands - Interactive shell/2FA prompts when persistent
config.jsonis missing
具备企业级 RBAC 与加密 config.json 设备令牌治理,但读取记录会输出明文密钥且 PAM 轮转属于变更操作。
- Device-bound persistent login with enterprise RBAC
- Supports destructive deletes and live PAM credential rotation
通过 PyPI(keepercommander)与安装包分发,Python 依赖树较大且需完成初次设备与 2FA 注册。
- PyPI package + standalone installers with heavy Python dependencies
单工具覆盖企业保险库、合规审计报表与 PAM 自动化能力。
- Unifies vault CRUD, audit logs, and KeeperPAM rotation
Keeper Security 官方项目(Keeper-Security/Commander),MIT 协议高频更新。
- First-party
Keeper-Security/Commanderrepository
docs.keeper.io 企业文档详尽覆盖 Commander 命令与 JSON 参数。
- Official docs at docs.keeper.io
安全边界、鉴权与放权指南
持久化设备令牌与加密会话参数保存在 ~/.keeper/config.json(可通过 --config 指定路径)。
MIT 开源 CLI;需配合 Keeper Security / KeeperPAM 商业订阅使用。
# 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 高频安全命令配方
只读查询(安全推荐)
keeper --config ~/.keeper/config.json list --format=json
通过 --config 完成认证,并使用 --format=json 输出可访问记录的元数据列表。
keeper --config ~/.keeper/config.json get <record-uid> --format=json
按 <record-uid> 提取结构化 JSON 格式的记录详情。
受控写入与预演
keeper --config ~/.keeper/config.json pam action rotate --record <record-uid>
通过 KeeperPAM 对 <record-uid> 执行托管密钥轮转。
核心优势
- + 保险库查询、合规报表与 PAM 控制均支持完备的
--format=json输出。 - + 持久化设备
config.json配置好后即可支持无人值守的 CI/Agent 运行。
注意事项与踩坑点
- ! 首次启用
config.json前必须交互完成主密码、SSO 或 2FA 设备授权。 - ! 不带子命令直接运行
keeper会进入交互式终端(keeper shell)。