Skip to content

Authentication

Use the CLI to authenticate with the Dreadnode platform and manage provider API keys for local agent runs.

You can authenticate with a browser-based device flow or by pasting an API key.

Terminal window
/login browser
Terminal window
/login apikey <key>

Use the /keys command to store provider keys used by generators.

Terminal window
/keys set <provider> <key>

Supported providers: anthropic, openai, google, mistral, groq, custom.

ProviderKey format (example)
anthropicsk-ant-...
openaisk-...
googleAIza...
mistralmistral-...
groqgsk_...
customcustom-...

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:

Terminal window
DREADNODE_PROFILE=dev.app.dreadnode.io dreadnode

If you are using a self-hosted deployment, connect your CLI session to the server URL:

Terminal window
/connect <url>