Recursively redacts strings in an object, array, or primitive for diagnostic output. Replaces credentials, tokens, sensitive keywords, and user home directory paths.
Value to recursively redact.
Max byte length per string (default 2048).
Redacted value of the same structure.
Recursively redacts strings in an object, array, or primitive for diagnostic output. Replaces credentials, tokens, sensitive keywords, and user home directory paths.