Console API
BYOK Setup
Create and manage custom provider keys (BYOK)
POST
Create and manage custom provider keys (BYOK - Bring Your Own Key) for AWS Bedrock, Google Vertex AI, Azure, and other LLM providers. This allows you to use your own credentials instead of Edgee’s shared keys.Documentation Index
Fetch the complete documentation index at: https://www.edgee.ai/docs/llms.txt
Use this file to discover all available pages before exploring further.
Request Body
The provider type. Supported values:
anthropic, openai, google_vertex_ai, mistral, deepseek, xai, zai, bedrock, azureThe credentials for the provider. Format depends on the provider type:
- Standard providers (anthropic, openai, mistral, deepseek, xai, zai): API key as string
- Bedrock: JSON string with region-keyed credentials
- Azure: JSON string with endpoint and api_key
- Google Vertex AI: Service account JSON string
A descriptive name for this provider key (e.g., “Production Vertex AI Key”). Max 100 characters.
Array of Edgee API key IDs to assign this provider key to. Leave empty to create an organization-level provider key that applies to all API keys.
Response
Unique identifier for the provider key
The provider type (e.g., “google_vertex_ai”)
The name of the provider key
ISO 8601 timestamp of when the provider key was created
User ID of who created the provider key
Examples
Tips
- Organization-level keys: Leave
api_key_idsempty to apply the provider key to your entire organization - API-key-specific assignments: Specify API key IDs to restrict the provider key to specific API keys only
- Security: Never commit provider credentials to version control. Use environment variables or secure credential management systems
- Multi-region Bedrock: For AWS Bedrock, you can specify different credentials for different regions. Use
"global"as the key for a default region.