CLI Reference
reeve approvals
CLI reference for `reeve approvals` (exec approvals for gateway or node hosts)
reeve approvals
Manage exec approvals for the local host, gateway host, or a node host.
By default, commands target the local approvals file on disk. Use --gateway to target the gateway, or --node to target a specific node.
Related:
- Exec approvals: Exec approvals
- Nodes: Nodes
Common commands
reeve approvals get
reeve approvals get --node <id|name|ip>
reeve approvals get --gatewayReplace approvals from a file
reeve approvals set --file ./exec-approvals.json
reeve approvals set --node <id|name|ip> --file ./exec-approvals.json
reeve approvals set --gateway --file ./exec-approvals.jsonAllowlist helpers
reeve approvals allowlist add "~/Projects/**/bin/rg"
reeve approvals allowlist add --agent main --node <id|name|ip> "/usr/bin/uptime"
reeve approvals allowlist add --agent "*" "/usr/bin/uname"
reeve approvals allowlist remove "~/Projects/**/bin/rg"Notes
--nodeuses the same resolver asreeve nodes(id, name, ip, or id prefix).--agentdefaults to"*", which applies to all agents.- The node host must advertise
system.execApprovals.get/set(macOS app or headless node host). - Approvals files are stored per host at
~/.reeve/exec-approvals.json.