redactConnectionProfile
function redactConnectionProfile(profile: ConnectionProfile): Record<string, unknown>;Defined in: src/profiles/ProfileRedactor.ts:16
Produces a diagnostics-safe profile copy with credentials and runtime hooks redacted.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
profile | ConnectionProfile | Connection profile to sanitize. |
Returns
Section titled “Returns”Record<string, unknown>
Plain object safe to include in logs, traces, or validation reports.