API Keys¶
API keys are used for agent authentication.
Creating API Keys¶
- Log into the web interface
- Navigate to a server
- Go to the "API Keys" tab
- Click "Create API Key"
- Copy the key immediately - it's only shown once!
Using API Keys¶
Agents use API keys to authenticate via WebSocket:
Security Best Practices¶
- Never commit API keys to version control
- Rotate keys regularly
- Revoke compromised keys immediately
- Use one key per server
- Store keys securely (environment variables, secrets manager)
Revoking API Keys¶
You can revoke an API key at any time:
- Navigate to the server
- Go to "API Keys" tab
- Click "Revoke" next to the key
Once revoked, the agent will be disconnected and cannot reconnect.
Key Format¶
API keys follow the format: