TLDR Web Dev · ARTICLES & TUTORIALS

KEEPING SECRETS OUT OF LOGS

allan.reyes.sh36 min read

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.