Maybe you could automatically redact high-entropy strings? It might be more reliable than looking at key names.
Reply on news.ycombinator.com