Skip to main content

Documentation Index

Fetch the complete documentation index at: https://plantis.ai/llms.txt

Use this file to discover all available pages before exploring further.

Original: Simon Willison · 06/04/2026

Summary

The release of scan-for-secrets 0.3 introduces a new redaction option that allows users to confirm and replace matches with ‘REDACTED’.

Key Insights

“New -r/—redact option which shows the list of matches, asks for confirmation and then replaces every match with REDACTED.” — Description of the new feature in scan-for-secrets 0.3
“New Python function redact_file(file_path: str | Path, secrets: list[str], replacement: str = ‘REDACTED’) -> int.” — Introduction of a new function in the release

Topics


Full Article

New -r/—redact option which shows the list of matches, asks for confirmation and then replaces every match with REDACTED, taking escaping rules into account. New Python function redact_file(file_path: str | Path, secrets: list[str], replacement: str = “REDACTED”) -> int.

Release: scan-for-secrets 0.1

Simon Willison · how-to · 62% similar

Release: scan-for-secrets 0.2

Simon Willison · reference · 62% similar

Release: scan-for-secrets 0.1.1

Simon Willison · reference · 54% similar