redactedKeys property

Set<String> redactedKeys
getter/setter pair

Context keys whose values never reach a sink.

Matched as substrings of the lowercased key, which over-redacts a little -- tokenCount goes too. That is the right way to be wrong: a redacted number is an inconvenience, and a bearer token sitting in a log store that half the company can read is an incident.

Implementation

Set<String> redactedKeys;