Skip to main content

Overview

The auth command handles authentication with Qovery. You can authenticate using interactive login or API tokens.

Commands

Login

Authenticate with Qovery interactively:
This will open your browser to complete the authentication flow.

Headless Login

For environments without a browser (CI/CD, servers), use headless mode:
This will provide a URL that you can open manually to complete authentication.

Login with API Token

Set your API token as an environment variable. Every command then uses the token directly, so you do not need to run qovery auth, which always starts the browser or headless login flow:
You can generate an API token from the Qovery Console under Organization settings → API token.

Token

Output the current valid access token (refreshing it if expired). Useful for making direct API calls to the Qovery API. For security reasons, the token is not printed by default. You must explicitly use --print or --json to output the token value.
Examples:

Examples

Interactive Login

Headless Authentication

CI/CD Authentication

Server/Remote Authentication

Command reference

Generated from qovery auth --help (CLI v1.180.0). Every command also accepts -h, --help and the global flags.

qovery auth

Log in to Qovery
Usage

qovery auth status

Show authentication status without exposing the access token
Description from qovery auth status --help
Usage

qovery auth token

Output the current valid access token
Description from qovery auth token --help
Usage
Examples printed by qovery auth token --help, verbatim.
qovery auth token --help