Version 0.3 of `scan-for-secrets` has been released, adding a new `-r/–redact` option that allows users to review detected secrets and confirm their replacement with ‚REDACTED‘ placeholders. The update also includes a new Python function, `redact_file`, for programmatic secret management.
Source: Simon Willison