Scan supplied text or a diff for secrets
Pattern-scans content you send, with no external lookups. Built for pre-commit hooks and CI: send a unified diff and only added lines are scanned, so pre-existing secrets in a file do not block every commit that touches it. Priced well below secret-scan because this fires on every commit.
Billing. $0.05 per successful call. Failed calls are never billed. Charged against prepaid credits when the balance covers it, otherwise metered to your card. Threat Intelligence subscribers and AWS Marketplace bundle customers call this at no extra charge.
Note. The scanned content never reaches RelayShield's logs: only pattern names and counts are logged. Findings carry a fingerprint rather than the matched value.
Request
- Base URL: https://api.relayshield.net
- URL: https://api.relayshield.net/v1/metered/secret-scan-text
- Auth: one of:
- API key in header X-RS-API-KEY
- HTTP bearer
Request body
Response
Success. ok is true and data holds the result.
Changes
No recorded changes to this operation across all 1 revision of this API.