litellm/litellm/proxy/auth
yucheng-berri 41f9d8de7b
fix(proxy): extend banned-params + admin-clear lists for NVIDIA Riva (VERIA-493) (#31742)
Two NVIDIA-Riva-specific fields consumed by the audio-transcription
handler via the provider's `optional_params` passthrough were not
covered by the proxy's existing banned-request-body list or the
admin-config clearing list applied on `api_base` BYOK override:

* `nvcf_function_id`
* `use_ssl`

Add both to `_BANNED_REQUEST_BODY_PARAMS` in
`litellm/proxy/auth/auth_utils.py` and to the kwargs-only list in
`_admin_config_fields_to_clear_on_base_override()` in
`litellm/router_utils/clientside_credential_handler.py`, next to the
analogous provider-specific entries already there (`aws_bedrock_*`,
OCI provider fields, etc.). Same admin opt-ins as every other entry
on those lists (`general_settings.allow_client_side_credentials`
proxy-wide, or `configurable_clientside_auth_params` per deployment).

Regression tests in `tests/test_litellm/proxy/auth/test_auth_utils.py`
cover root-level rejection, the historical `api_key` bypass, both
admin opt-in paths (proxy-wide and per-deployment), nested-container
smuggling via the existing recursive walk, and clearing on
`api_base` override. Mutation check verified.

Resolves VERIA-493
2026-06-30 15:30:08 -07:00
..
resolvers style: unify ruff format width on 120 (#31518) 2026-06-27 12:39:29 -07:00
auth_checks.py perf(auth): gather independent pre-call budget-enforcement reads (#31604) 2026-06-29 21:44:35 +00:00
auth_checks_organization.py style: unify ruff format width on 120 (#31518) 2026-06-27 12:39:29 -07:00
auth_exception_handler.py style: unify ruff format width on 120 (#31518) 2026-06-27 12:39:29 -07:00
auth_method.py feat(auth): resolve caller identity once into a Principal at the auth seam (#30887) 2026-06-20 18:49:41 -07:00
auth_utils.py fix(proxy): extend banned-params + admin-clear lists for NVIDIA Riva (VERIA-493) (#31742) 2026-06-30 15:30:08 -07:00
handle_jwt.py style: unify ruff format width on 120 (#31518) 2026-06-27 12:39:29 -07:00
ip_address_utils.py style: unify ruff format width on 120 (#31518) 2026-06-27 12:39:29 -07:00
litellm_license.py style: unify ruff format width on 120 (#31518) 2026-06-27 12:39:29 -07:00
login_utils.py style: unify ruff format width on 120 (#31518) 2026-06-27 12:39:29 -07:00
model_checks.py style: unify ruff format width on 120 (#31518) 2026-06-27 12:39:29 -07:00
network.py style: unify ruff format width on 120 (#31518) 2026-06-27 12:39:29 -07:00
oauth2_check.py style: unify ruff format width on 120 (#31518) 2026-06-27 12:39:29 -07:00
oauth2_proxy_hook.py style: unify ruff format width on 120 (#31518) 2026-06-27 12:39:29 -07:00
public_key.pem fix: remove leading space from license public_key.pem (#25339) 2026-04-08 21:30:38 -07:00
rds_iam_token.py style: unify ruff format width on 120 (#31518) 2026-06-27 12:39:29 -07:00
roles.py feat(auth): resolve caller identity once into a Principal at the auth seam (#30887) 2026-06-20 18:49:41 -07:00
route_checks.py style: unify ruff format width on 120 (#31518) 2026-06-27 12:39:29 -07:00
trusted_proxy_utils.py style: unify ruff format width on 120 (#31518) 2026-06-27 12:39:29 -07:00
user_api_key_auth.py style: unify ruff format width on 120 (#31518) 2026-06-27 12:39:29 -07:00