diff --git a/litellm/proxy/health_check.py b/litellm/proxy/health_check.py index 7eab47192a1..cd028657aa9 100644 --- a/litellm/proxy/health_check.py +++ b/litellm/proxy/health_check.py @@ -50,6 +50,8 @@ ILLEGAL_DISPLAY_PARAMS: Final = [ "anthropic_identity_token", "anthropic_issuer_signing_key_ref", "anthropic_keycloak_client_secret_ref", + "anthropic_identity_token_file", + "openai_identity_token_file", "extra_headers", "headers", "exception", # internal; not JSON-serializable, never for display diff --git a/tests/test_litellm/proxy/health_endpoints/test_health_endpoints.py b/tests/test_litellm/proxy/health_endpoints/test_health_endpoints.py index ae503a70784..515b02fc303 100644 --- a/tests/test_litellm/proxy/health_endpoints/test_health_endpoints.py +++ b/tests/test_litellm/proxy/health_endpoints/test_health_endpoints.py @@ -2556,6 +2556,8 @@ def test_clean_endpoint_data_strips_extra_headers_and_aws_session_token(): "anthropic_identity_token", "anthropic_issuer_signing_key_ref", "anthropic_keycloak_client_secret_ref", + "anthropic_identity_token_file", + "openai_identity_token_file", "vertex_credentials", "vertex_ai_credentials", "extra_headers",