Policy JSON
What It Does
- Detects AWS Access Key IDs matching the
AKIA*andASIA*patterns - Detects AWS Secret Access Keys (40-character base64 strings in AWS context)
- Detects AWS Session Tokens from STS temporary credentials
- High confidence threshold (0.9) reduces false positives on strings that resemble but aren’t AWS credentials
- Denies requests containing confirmed AWS credentials
Example
User input:Install
Customize
For GCP and Azure credential detection, combine this policy with additional patterns:
gcp_service_account_key, azure_client_secret, azure_storage_key. A multi-cloud secrets policy is on the roadmap.Related
- API Key Detection — Broader secret detection across all providers
- Credential Rotation — 90 Day — Enforce credential freshness
- Code Assistant Starter — Full policy set for code-facing agents
- TealSecrets Documentation — Full API reference

