The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
fix(rbac): also gate /key/service-account/generate for org admins
Ryan Crabbe28f43a7a3789
diff --git a/litellm/proxy/management_endpoints/key_management_endpoints.py b/litellm/proxy/management_endpoints/key_management_endpoints.pyindex 4b8cf1dbe99..1fdf62cdb5b 100644--- a/litellm/proxy/management_endpoints/key_management_endpoints.py+++ b/litellm/proxy/management_endpoints/key_management_endpoints.py@@ -1454,6 +1454,8 @@ async def generate_service_account_key_fn(detail={"error": CommonProxyErrors.db_not_connected_error.value},)+ await check_org_admin_can_generate_keys(user_api_key_dict=user_api_key_dict)+await validate_team_id_used_in_service_account_request(team_id=data.team_id,prisma_client=prisma_client,