litellm/tests/test_litellm/proxy/auth
Krish Dholakia 1a57875d24
Proxy - specify key_type - allows specifying if key can call LLM API routes vs. Management routes only (#12909)
* feat(key_management_endpoints.py): Support new 'key_type' field

allow user to specify if key should be 'management' or 'llm api' key

Security fix

* test(test_route_checks.py): add unit tests

* fix(create_key_button.tsx): add ui component to select key type

allows specifying if key can call llm api vs. management routes

* feat(create_key_button.tsx): add specifying key type to ui

* fix(route_checks.py): add sensitive data masker for user id on not allowed error message

prevent leaking sensitive information
2025-07-24 16:40:40 -07:00
..
test_auth_checks.py Resolve model group alias on Auth + /v1/messages Fallback support (#12440) 2025-07-09 22:27:55 -07:00
test_auth_exception_handler.py
test_handle_jwt.py [Feat] JWT - Sync user roles and team memberships when JWT Auth is used (#11994) 2025-07-05 08:58:34 -07:00
test_litellm_license.py Show remaining users on UI (#11568) 2025-06-09 22:04:45 -07:00
test_model_checks_fallbacks.py feat: extended /v1/models endpoint, now it returns with fallbacks on demand (#12811) 2025-07-22 23:16:46 -07:00
test_model_checks.py UI - fix invitation link + ensure team models returned when team has 'all-proxy-models' + team only models (#11524) 2025-06-07 15:19:52 -07:00
test_route_checks.py Proxy - specify key_type - allows specifying if key can call LLM API routes vs. Management routes only (#12909) 2025-07-24 16:40:40 -07:00
test_user_api_key_auth.py