Okta API Token

Detects Okta API tokens, which begin with 00 and are followed by 40 base64url characters. Because the structure is short and generic, corroborative Okta context is important to confirm a real token. 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
9
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