Connect to the Passport Proxy
Before you can send authenticated API requests using Passport, use the Passport CLI to connect your machine to the Passport Proxy. The Passport CLI configures your local environment to route requests through the proxy from external clients like curl and scripts. This is a one-time setup per machine.
Complete the following sections in order.
Prerequisites
Before you begin, make sure you have the following:
- A Passport Admin must approve your access request.
Install the Passport CLI
Install the Passport CLI using whichever option applies:
- Self-serve — Install the Passport CLI on your own machine. See Install the Passport CLI.
- Managed deployment — If your organization manages your machine, your IT team may deploy the Passport CLI for you with a mobile device management tool (MDM). See Deploy the Passport CLI with mobile device management.
Sign in to Passport
Sign in to your Passport account:
For all sign in options, see Authentication commands.
Set up the Passport Proxy
Run the following command to connect your machine to the proxy, using the management URL and proxy URL from your Admin:
For all setup options, see Setup and identity commands.
This command does the following:
- Discovers your proxy — Fetches the configuration your Admin set, including the proxy URL, management host URL, and secret store providers.
- Generates a key pair — Creates an RSA key pair where the private key never leaves your machine.
- Issues a certificate — Sends only the public key to the proxy certificate authority (CA), which returns a signed certificate binding your identity and API permissions to it.
- Starts the daemon — Runs a local HTTPS proxy on
localhost:10144that lets external clients (curl, scripts, SDKs) use Passport. It intercepts outbound HTTPS, opens an mTLS tunnel to the proxy using your certificate, and forwards the request. On macOS, the daemon auto-starts on sign in usinglaunchd. On Windows, the daemon also auto-starts on sign in. On Linux, start it manually withpassport daemon start. - Sets environment variables — Configures your shell environment so clients that respect
HTTPS_PROXYroute traffic through the daemon automatically. Clients that don’t supportHTTPS_PROXYrequire manual proxy and CA configuration. Learn about the environment variables that are set.
This command is safe to re-run. Each run generates a fresh key pair and certificate.
Environment variables
Some tools validate certificates against your OS’s own certificate trust store instead of these environment variables. Run passport ca install so these tools trust the Passport CA too.
Verify the setup
After setup completes, confirm that the environment variables are set correctly and the daemon is running.
For a live view of daemon status and your certificate’s grants, see View the terminal dashboard.
Check environment variables
Open a new terminal and run the following commands to confirm the environment variables were set correctly.
macOS/Linux
Windows (PowerShell)
The output looks similar to the following:
Check the daemon
Run the following command to confirm the daemon is running and reachable:
For all daemon options, see Daemon commands.
The output looks similar to the following:
Check your access
Run the following command to confirm your identity and view which APIs you have access to:
For more information, see Setup and identity commands.
The output looks similar to the following:
Next steps
Once the setup is complete, you can send authenticated API requests using secret references. For more information, see Call an API with Passport.

