Redacts sensitive fields from a message for safe logging. Replaces apiKey and signature values with '[REDACTED]' while preserving the rest of the message structure.
The message object to redact.
A new object with sensitive fields redacted.
Redacts sensitive fields from a message for safe logging. Replaces apiKey and signature values with '[REDACTED]' while preserving the rest of the message structure.