2025
Redacting tokens in Lambda function events
May 25, 2025 #javascript #python #security #aws #lambda
When I write an AWS Lambda function in JavaScript/TypeScript that takes some sort of auth token in the , I take care to redact it from any logs. The code below is similar to what I use, using the parameter of JSON.stringify to replace the…