Authentication
Verlign uses browser-based authentication. When you log in, a short-lived local server handles the OAuth callback and stores your API key.
Log in
verlign loginThis command:
- Starts a temporary local server on a free port
- Opens
https://verlign.com/cli-authin your browser - Waits up to 2 minutes for you to complete authentication
- Stores your API key in
~/.verlign/config.json(permissions0600)
Once authenticated, all subsequent CLI commands use the stored key automatically.
Log out
verlign logoutThis removes the stored API key from ~/.verlign/config.json.
Check status
verlign statusDisplays whether you are logged in and shows:
- A truncated API key (first 12 characters)
- The API URL your CLI is pointing to
API keys on the dashboard
You can also manage API keys from the Verlign dashboard. Keys created on the dashboard can be used by setting them in your config file or via environment variables (see Configuration).
Troubleshooting
Login times out
The CLI waits 2 minutes for the browser callback. If your browser didn’t open automatically, copy the URL printed in your terminal and open it manually.
“Not logged in” after login
Make sure ~/.verlign/config.json exists and contains a valid apiKey field. Check file permissions — the file should be readable by your user (0600).