Skip to content
From 0.5.0 the packages continue as @cqrs-ddd, documented at aristoteliss.github.io/ddd-cqrs; NestJS applications add @cqrs-ddd/nestjs. This site documents the 0.4.x line.

DEFAULT_REDACT_KEYS

const DEFAULT_REDACT_KEYS: readonly string[]

Defined in: safeStringify.ts:12

Commonly sensitive field names. Redaction matches a key ignoring case, _ and -, so refreshToken also masks refresh_token and REFRESH-TOKEN; a name list cannot recognize every secret, so add application-specific names through redactKeys.