@salesforce/b2c-tooling-sdk / config / redactConfigValues
Function: redactConfigValues()
redactConfigValues(
values,options):Record<string,unknown>
Defined in: packages/b2c-tooling-sdk/src/config/redaction.ts:60
Produce a shallow copy of resolved config values with sensitive fields masked. Undefined values are omitted.
Parameters
values
Resolved configuration values
options
unmask: true disables masking (secrets shown verbatim)
unmask?
boolean
Returns
Record<string, unknown>
A new record safe to display, unless unmask was set