@salesforce/b2c-tooling-sdk / config / maskConfigValue
Function: maskConfigValue()
maskConfigValue(
value):string
Defined in: packages/b2c-tooling-sdk/src/config/redaction.ts:45
Mask a sensitive value, showing the first 4 characters when long enough to aid identification without disclosing the secret. Matches the convention used by the SDK logger (<first4>...REDACTED).
Parameters
value
string
The raw value to mask
Returns
string
The masked representation