Skip to main content
TealSecrets is a governance module that scans content for leaked secrets, credentials, and sensitive tokens. It detects over 500 patterns across 9 categories with confidence scoring.

Overview

TealSecrets runs as part of the TealEngine v1.2 module pipeline. When the policy includes a secrets key, the engine dispatches to TealSecrets in parallel with other active modules.

500+ Patterns

Regex and entropy-based detection across all major providers

9 Categories

API keys, tokens, credentials, certificates, and more

Confidence Scoring

Each finding includes a 0–1 confidence score

Quick Start


Detection Categories

TealSecrets organizes patterns into 9 categories:

SecretFinding Type

Each detected secret produces a SecretFinding:
TealSecrets never includes the actual secret value in findings. The fingerprint field contains a hash for deduplication and tracking.

Policy Configuration

Configure TealSecrets through the secrets key in your policy:

Reason Codes

TealSecrets emits these TEEC reason codes:

Event Types


Examples

Scanning Content

Using the Sidecar

Python