Skip to content

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.