fix(logging): redact Azure api-key header in logging (#717)
When `OPENAI_LOG` is configured, `HttpLoggingInterceptor` logs HTTP requests/responses. Previously, only the `Authorization` header was redacted. This commit also redacts the `api-key` header to ensure Azure API keys are not exposed in application logs.
V
Vu Nguyen Duc Thang committed
f44a2b6f9ad7ea547e7b5f03a7428c9e2ae58192
Parent: 6b232f4
Committed by stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
on 5/7/2026, 3:12:38 PM