mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-08 03:08:45 +00:00
fix(proxy): hide identity token file paths from /health output
This commit is contained in:
parent
9d681f5318
commit
e0ee4b6016
2 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue