Skip to content

Advanced CLI

Webhooks send HTTP notifications when secrets change.

Terminal window
passbox webhook list [options]
OptionDescription
--vault <name>Vault name or ID
Terminal window
passbox webhook create [options]
OptionDescription
--vault <name>Vault name or ID
--name <name>Webhook name
--url <url>HTTPS endpoint URL
--events <events>Comma-separated: secret.created, secret.updated, secret.deleted, secret.rotated
Terminal window
passbox webhook create \
--vault my-app \
--name "slack-notify" \
--url "https://hooks.slack.com/..." \
--events "secret.created,secret.updated"
Terminal window
passbox webhook update <id> [options]
OptionDescription
--url <url>New URL
--events <events>New events
--active <bool>Enable/disable
Terminal window
passbox webhook delete <id> [options]
Terminal window
passbox webhook test <id> [options]

Sends a test event to the webhook URL.

Configure automatic rotation tracking for secrets.

Terminal window
passbox rotation get <secret-name> [options]
OptionDescription
--vault <name>Vault name or ID
Terminal window
passbox rotation set <secret-name> [options]
OptionDescription
--vault <name>Vault name or ID
--interval <hours>Rotation interval in hours (default: 720 = 30 days)
--webhook <id>Webhook to notify on rotation
Terminal window
passbox rotation set API_KEY --vault my-app --interval 168 # weekly
Terminal window
passbox rotation remove <secret-name> [options]
Terminal window
passbox rotation trigger <secret-name> [options]

Fires the secret.rotated webhook event immediately.

Terminal window
passbox account delete

Permanently deletes your account and all associated data. Requires confirmation.

Terminal window
passbox config get <key>

Available keys: server, defaultVault, defaultEnvironment

Terminal window
passbox config set <key> <value>
Terminal window
passbox config set server https://api.passbox.dev
passbox config set defaultVault my-app
passbox config set defaultEnvironment production
Terminal window
passbox serve

Starts the PassBox MCP server in stdio mode for use with AI tools like Claude Desktop, Cursor, or Windsurf. See MCP Setup for configuration details.

Terminal window
passbox whoami

Displays the email of the currently authenticated user.