Okta API Token

Detects Okta API-token candidates, which begin with 00 and are followed by 40 base64url characters. Okta or SSWS context is required for enforcement because the 42-character shape can represent unrelated identifiers; the bare value shape surfaces only as discovery inventory. A leaked token grants Okta admin API access.

Type
regex
Engine
universal
Confidence
medium
Confidence justification
Medium confidence: the 00 prefix plus 40 base64url chars is not highly distinctive and can collide with other 42-char identifiers, so Okta corroborative keywords are required for reliable detection.
Jurisdictions
global
Regulations
Criminal Code Act 1995 (Cth)
Frameworks
CIS Controls, ISO 27001, NIST CSF, SOC 2
Data categories
credentials, security
Scope
wide
Risk rating
8
Platform compatibility
Purview: Compatible, GCP DLP: Unsupported, Macie: Unsupported, Zscaler: Compatible, Palo Alto: Unsupported, Netskope: Unsupported

Pattern

(?<![A-Za-z0-9_-])00[A-Za-z0-9_-]{40}(?![A-Za-z0-9_-])

Corroborative evidence keywords

okta, okta.com, SSWS, api token, api_token, OKTA_API_TOKEN, authorization

Proximity: 300 characters

Should match

Should not match

Known false positives

References

Collections