> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nvidia.com/nemo/guardrails/llms.txt.
> For full documentation content, see https://docs.nvidia.com/nemo/guardrails/llms-full.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.nvidia.com/nemo/guardrails/_mcp/server.

# nemoguardrails.actions.validation.filter_secrets

## Module Contents

### Functions

| Name                                                                                     | Description                                      |
| ---------------------------------------------------------------------------------------- | ------------------------------------------------ |
| [`contains_secrets`](#nemoguardrails-actions-validation-filter_secrets-contains_secrets) | Validate if response have any of the key present |

### API

```python
nemoguardrails.actions.validation.filter_secrets.contains_secrets(
    resp
)
```

Validate if response have any of the key present
Refer [https://github.com/Yelp/detect-secrets](https://github.com/Yelp/detect-secrets) for detection process
response is string of format
AWSKeyDetector         : False
ArtifactoryDetector    : False