Skip to main content
The CLI requires authentication to scan your code and sync results with your Vidoc project.

Get Your Token

  1. Go to app.vidocsecurity.com
  2. Select your project
  3. Navigate to SettingsAPI Keys
  4. Click “Create API Key”
  5. Copy the token
Store your token securely. Don’t commit it to version control.

Login

Interactive Login

You’ll be prompted to enter your token.

Direct Login

Provide the token as an argument:

Single-Tenant Installations

For self-hosted Vidoc instances, specify the API URL:

Profiles

Profiles let you manage multiple Vidoc configurations (e.g., different projects or environments).

Create a Named Profile

List Profiles

Switch Profile

Create Empty Profile

Delete Profile

View Current Configuration

See your current authentication status and settings:

CI/CD Authentication

For CI/CD pipelines, pass the token directly:
Or use the --token flag with scan:
See CI/CD Integration for pipeline examples.

Troubleshooting

”Invalid token”

  1. Verify the token was copied correctly
  2. Check for extra whitespace
  3. Ensure the token hasn’t been revoked in the dashboard

”Unauthorized”

The token may be associated with a deleted project. Create a new token in an active project.

Installation

Install the CLI

Scanning

Run scans

API Keys

Manage tokens

CI/CD

CI/CD integration