Authentication
Use the CLI to authenticate with the Dreadnode platform and manage provider API keys for local agent runs.
Login methods
Section titled “Login methods”You can authenticate with a browser-based device flow or by pasting an API key.
/login browser/login apikey <key>Provider API keys
Section titled “Provider API keys”Use the /keys command to store provider keys used by generators.
/keys set <provider> <key>Supported providers: anthropic, openai, google, mistral, groq, custom.
| Provider | Key format (example) |
|---|---|
| anthropic | sk-ant-... |
| openai | sk-... |
AIza... | |
| mistral | mistral-... |
| groq | gsk_... |
| custom | custom-... |
Profiles
Section titled “Profiles”Profiles store credentials per server. When you log in to a server URL, the CLI creates a profile named after that host and sets it as active.
To switch profiles, log in to another server or set the profile explicitly via the DREADNODE_PROFILE environment variable:
DREADNODE_PROFILE=dev.app.dreadnode.io dreadnodeConnect to a Dreadnode server
Section titled “Connect to a Dreadnode server”If you are using a self-hosted deployment, connect your CLI session to the server URL:
/connect <url>