PotentiallySensitiveHeaders

HTTP headers that are potentially sensitive and may be redacted from debug logging. This set is NOT applied by default — users must explicitly opt in via the logRedactedHeaders client config property.

Example usage:

val client = MyServiceClient {
logRedactedHeaders += PotentiallySensitiveHeaders.Default
}

Properties

Link copied to clipboard

The default set of potentially sensitive headers, including: