Postman API Key
Detects Postman API keys (PMAK- followed by 24 and 34 lowercase hexadecimal characters) and Postman collection access keys (PMAT- followed by 26 alphanumeric characters). Postman workspaces frequently store internal API endpoints, environment variables, and production bearer secrets.
- Type
- regex
- Engine
- boost_regex
- Confidence
- high
- Confidence justification
- High confidence: PMAK- with hyphen-split 24/34 lowercase hexadecimal segments and PMAT- with 26 alphanumerics are vendor-specific formats attested by Postman documentation, GitHub secret scanning, gitleaks, and TruffleHog.
- Jurisdictions
- global
- Regulations
- Criminal Code Act 1995 (Cth)
- Frameworks
- CIS Controls, ISO 27001, NIST CSF, SOC 2
- Data categories
- credentials, security
- Scope
- narrow
- Risk rating
- 8
- Platform compatibility
- Purview: Compatible, GCP DLP: Unsupported, Macie: Unsupported, Zscaler: Compatible, CrowdStrike DLP: Unsupported, Palo Alto: Unsupported, Netskope: Unsupported
Pattern
(?-i)(?<![A-Za-z0-9_-])(PMAK-[0-9a-f]{24}-[0-9a-f]{34}|PMAT-[0-9a-zA-Z]{26})(?![A-Za-z0-9_-])
Corroborative evidence keywords
postman, POSTMAN_API_KEY, X-Api-Key, getpostman.com, api key, api_key, apikey, access key, access token, auth token, authorization, bearer, conn str, connection string, connectionstring, cookie, credential, database, host, [object Object] (+37 more)
Proximity: 300 characters
Should not match
POSTMAN_API_KEY=PMAK-short-segment— Hex segments shorter than 24 and 34 charactersPOSTMAN_API_KEY=PMAT-short12345— Collection access key shorter than 26 charactersPass your Postman API key in the X-Api-Key request header.— Documentation prose without a key valuetemplate example placeholder record identifier— Template/sample context should be excluded even when anchor words are present
Known false positives
- Revoked Postman keys in archived CI pipelines. Mitigation: Confirm active status in Postman Team Settings -> API Keys.
- Redacted or example PMAK keys in Postman tutorials. Mitigation: Filtered on every tier by template-exclusion.
References
- Postman API authentication documentation (PMAK- key and X-Api-Key header)
- gitleaks postman-api-token rule (PMAK-[a-f0-9]{24}-[a-f0-9]{34})