Passport CLI overview

Beta

The Passport CLI (passport) is a command-line tool for connecting to and interacting with the Passport Proxy. It handles authentication, client machine setup, identity verification, and routing API requests through Passport. Use it to connect your machine to the proxy, verify your identity, and send authenticated API requests from the terminal or scripts.

The Passport CLI is in beta.

Each command supports the --help option for inline usage information. For example, passport setup --help.

Options

The following options are available on the passport command:

-v, --version

Output the version number.

--silent

Silence all terminal output.

--color <value>
Defaults to auto

Turn on or off colored output. Accepts auto, on, or off.

-h, --help

Display help for the command.

Commands

CommandDescription
passport loginAuthenticate with Passport.
passport logoutSign out and delete the stored API key.
passport setupProvision a client certificate for your machine.
passport whoamiShow the identity in the stored client certificate.
passport requestForward an HTTPS request through the Passport Proxy.
passport daemonManage the local daemon that transparently routes outbound API calls.