fix(proxy): hide identity token file paths from /health output

This commit is contained in:
mateo-berri 2026-09-05 15:21:51 -07:00
parent 9d681f5318
commit e0ee4b6016
2 changed files with 4 additions and 0 deletions

View file

@ -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

View file

@ -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",