How It Works
RelayHub resolves which API key to use in this order:- Custom Provider — If you have configured a custom LLM endpoint, it takes priority
- BYOK Key — Your own API key registered in the Provider Hub
- Platform Key — RelayHub’s default shared key (usage counted against your subscription)
Supported Providers
Adding an API Key
Enter your API key
Paste your API key into the key field. The key is encrypted with Fernet encryption before being stored — it is never saved in plaintext.
Validate the key
Click Validate to verify the key works. RelayHub makes a lightweight test call to the provider’s API to confirm authentication.
Key Security
API keys are encrypted at rest using Fernet symmetric encryption. Once stored, the full key is never displayed again — only a hint (first and last few characters) is shown for identification.
- Keys are scoped to your organization and cannot be viewed by other customers
- The Provider Hub UI never returns the raw key after initial submission
- Keys can be replaced at any time by entering a new key for the same provider
- Deleting a key immediately reverts that provider to using the platform key
Managing Keys
From the Provider Hub, each configured provider shows:| Field | Description |
|---|---|
| Status | Enabled or Disabled |
| Key Hint | Masked key for identification (e.g., sk-...7xQ2) |
| Last Validated | When the key was last successfully tested |