Skip to navigation

Authentication commands

Use the login and logout commands to authenticate from the command line, and the auth command to inspect the Passport authentication session.

passport login

Authenticate to access your resources. The login command opens a browser window to complete authentication. You remain signed in until you run passport logout or your credentials expire.

Usage

passport login [options]

Options

--with-api-key <api-key>

Authenticate using an API key directly. Recommended for CI/CD pipelines and headless environments.

--region <region>

Specify the region for authentication. Use eu for the EU region.

--verbose

Show detailed error information.

--no-setup

Skip the automatic Passport credential setup that normally runs after login.

Examples

passport login

passport logout

Sign out and clear the stored session.

Usage

passport logout

Example

passport logout

passport auth

Inspect the Passport authentication session.

Usage

passport auth [options] [command]

Commands

status

Refresh and inspect the current authentication token.

Example

passport auth status