TLDR Web Dev · ARTICLES & TUTORIALS
KEEPING SECRETS OUT OF LOGS
Summary from the TLDR Web Dev newsletter
It can be challenging to prevent secrets from being logged. There's no single solution - instead, one can use multiple imperfect methods for defense-in-depth. This article covers these methods: better data architecture, transformations, domain primitives, log formatters, tests, scanners, and pre-processors.