CLI Authentication
Authenticate the Deepgram CLI with your API key.
Interactive Login
The simplest way to authenticate:
This opens your browser to the Deepgram Console where you can authorize the CLI. Once authorized, your API key is stored securely in ~/.config/deepgram/credentials.
API Key Flag
For CI/CD environments or scripted usage, pass your API key directly:
Environment Variable
Set your API key as an environment variable:
Named Profiles
Use multiple API keys with named profiles:
Profiles store credentials in ~/.config/deepgram/profiles/<name>/credentials.
Check Auth Status
Output:
CI/CD Usage
For CI/CD pipelines, use the --api-key flag or environment variable: