diff --git a/litellm/proxy/health_check.py b/litellm/proxy/health_check.py index 219f6f270ed..7eab47192a1 100644 --- a/litellm/proxy/health_check.py +++ b/litellm/proxy/health_check.py @@ -47,6 +47,9 @@ ILLEGAL_DISPLAY_PARAMS: Final = [ "aws_secret_access_key", "aws_session_token", "aws_web_identity_token", + "anthropic_identity_token", + "anthropic_issuer_signing_key_ref", + "anthropic_keycloak_client_secret_ref", "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 e9e58347337..ae503a70784 100644 --- a/tests/test_litellm/proxy/health_endpoints/test_health_endpoints.py +++ b/tests/test_litellm/proxy/health_endpoints/test_health_endpoints.py @@ -2553,6 +2553,9 @@ def test_clean_endpoint_data_strips_extra_headers_and_aws_session_token(): "aws_secret_access_key", "aws_session_token", "aws_web_identity_token", + "anthropic_identity_token", + "anthropic_issuer_signing_key_ref", + "anthropic_keycloak_client_secret_ref", "vertex_credentials", "vertex_ai_credentials", "extra_headers",