Request command
Use the request command to forward an HTTPS request through the Passport Proxy using the stored client certificate. The Passport CLI handles mTLS directly, so no daemon is required. Use secret references in place of real secrets anywhere in the request — headers, URL paths, query parameters, or the request body. For a walkthrough, see Call an API with Passport.
This command always routes through the Passport Proxy, so the intercept and bypass rules that control daemon-routed traffic don’t affect it. To test the path your apps use, send the request through the daemon instead.
You must run passport setup before sending requests. To learn more, see Setup and identity commands.
passport request
Usage
The target URL. Supports secret references in {{vault:SECRET_NAME}} format.
Options
HTTP method to use.
HTTP header in Name: value format. Repeatable for multiple headers.
Request body.
Print the response status and headers before the body.
Skip the outer TLS hostname check on the upstream handshake. The certificate chain is still validated.

