classifinder_redact
Redact detected secrets from text, replacing them with configurable placeholders (label, mask, or hash) for safe use with LLMs or logging systems.
Instructions
Scan text and replace all detected secrets with safe placeholders.
Returns clean text safe to forward to any LLM or logging system. Use this before sending user input to a model.
Args: text: The text to redact. redaction_style: How to replace secrets. Options: "label" - [AWS_ACCESS_KEY_REDACTED] (default) "mask" - AKIA************** "hash" - [REDACTED:sha256:a1b2c3d4]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| redaction_style | No | label |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |