1Password Service Account Token

Detects 1Password Service Account tokens, which begin with ops_eyJ (the ops_ prefix followed by a Base64-encoded JSON envelope) and 100 to 500 Base64/URL-safe characters. Service Account tokens grant non-interactive CLI and SDK access to designated 1Password vaults without master-password or biometric prompts.

Type
regex
Engine
boost_regex
Confidence
high
Confidence justification
High confidence: 1Password Service Account tokens combine the vendor prefix ops_ with eyJ (Base64 for {"...) and a long structured cryptographic payload, pinned by 1Password docs, GitHub secret scanning, 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+/_-])(ops_eyJ[A-Za-z0-9+/=_-]{100,500})(?![A-Za-z0-9+/=_-])

Corroborative evidence keywords

1password, OP_SERVICE_ACCOUNT_TOKEN, op read, op run, 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

Known false positives

References

Collections