curl -X POST https://api.edgee.app/v1/organizations/{orgId}/provider-keys \
-H "Authorization: Bearer <your_api_token>" \
-H "Content-Type: application/json" \
-d '{
"provider": "google_vertex_ai",
"provider_key": "{\"type\":\"service_account\",\"project_id\":\"my-project\",\"private_key\":\"...\"}",
"name": "Production Vertex AI",
"api_key_ids": []
}'
{
"id": "pk_1a2b3c4d5e6f7g8h",
"provider": "google_vertex_ai",
"name": "Production Vertex AI",
"created_at": "2026-04-08T10:00:00Z",
"created_by": "user_abc123"
}
Create and manage custom provider keys (BYOK)
curl -X POST https://api.edgee.app/v1/organizations/{orgId}/provider-keys \
-H "Authorization: Bearer <your_api_token>" \
-H "Content-Type: application/json" \
-d '{
"provider": "google_vertex_ai",
"provider_key": "{\"type\":\"service_account\",\"project_id\":\"my-project\",\"private_key\":\"...\"}",
"name": "Production Vertex AI",
"api_key_ids": []
}'
{
"id": "pk_1a2b3c4d5e6f7g8h",
"provider": "google_vertex_ai",
"name": "Production Vertex AI",
"created_at": "2026-04-08T10:00:00Z",
"created_by": "user_abc123"
}
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.
anthropic, openai, google_vertex_ai, mistral, deepseek, xai, zai, bedrock, azurecurl -X POST https://api.edgee.app/v1/organizations/{orgId}/provider-keys \
-H "Authorization: Bearer <your_api_token>" \
-H "Content-Type: application/json" \
-d '{
"provider": "google_vertex_ai",
"provider_key": "{\"type\":\"service_account\",\"project_id\":\"my-project\",\"private_key\":\"...\"}",
"name": "Production Vertex AI",
"api_key_ids": []
}'
{
"id": "pk_1a2b3c4d5e6f7g8h",
"provider": "google_vertex_ai",
"name": "Production Vertex AI",
"created_at": "2026-04-08T10:00:00Z",
"created_by": "user_abc123"
}
api_key_ids empty to apply the provider key to your entire organization"global" as the key for a default region.{
"type": "service_account",
"project_id": "your-project-id",
"private_key_id": "key-id",
"private_key": "-----BEGIN PRIVATE KEY-----\n...\n-----END PRIVATE KEY-----\n",
"client_email": "service-account@your-project.iam.gserviceaccount.com",
"client_id": "123456789",
"auth_uri": "https://accounts.google.com/o/oauth2/auth",
"token_uri": "https://oauth2.googleapis.com/token"
}
{
"global": {
"access_key_id": "AKIA...",
"secret_access_key": "..."
},
"us-east-1": {
"access_key_id": "AKIA...",
"secret_access_key": "..."
}
}
{
"endpoint": "https://your-resource.openai.azure.com/",
"api_key": "your-api-key"
}
Was this page helpful?