Skip to main content

The passbolt CLI

Read, write, share and use the secrets of your Passbolt server from a terminal or a script.

Command structure​

Each command is a verb, then the kind of item it acts on:

passbolt [GLOBAL FLAGS] <verb> <entity> [OPTIONS]
VerbEntities
listresource, folder, user, group
getresource, totp, folder, user, group, resource permission, folder permission
createresource, folder, user, group
updateresource, folder, user, group
deleteresource, folder, user, group
shareresource, folder
moveresource, folder

The other commands take no entity: tui, generate, configure, verify, exec, export keepass, export csv, import, migrate-metadata, completion and gendoc.

Run passbolt <command> --help to see what a command does and its flags. Each verb also has aliases, such as ls for list: see commands.

Errors and output streams​

An error prints Error: <message> on stderr and exits with code 1, usage errors included.

Prompts and warnings also go to stderr, so the --json output on stdout stays clean for jq.