{
  "id": "onepassword_service_account_token",
  "kind": "datatype",
  "status": "draft",
  "name": "1Password service account token",
  "doc": "Token of a 1Password service account. 1Password gives it the prefix ops_ so that code analyzers can find it; the rest is a Base64-encoded JSON object with the account's sign-in details and keys, so the token starts with ops_eyJ and is several hundred characters long.",
  "parent": "access_token",
  "is_pii": false,
  "categories": [
    "secrets"
  ],
  "langs": [
    "common"
  ],
  "classification": "identifier",
  "regexp": "^ops_eyJ[A-Za-z0-9+/]{250,}={0,3}$",
  "examples": [
    {
      "value": "ops_eyJExampleTokenNotReal",
      "description": "Too short",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "doc",
      "url": "https://www.1password.dev/service-accounts/security"
    },
    {
      "type": "other",
      "url": "https://github.com/gitleaks/gitleaks/blob/master/config/gitleaks.toml"
    }
  ],
  "detected_by": {
    "tools": [
      "gitleaks"
    ]
  },
  "quality": {
    "score": 70,
    "missing": [
      "examples",
      "mapping (Wikidata, Schema.org, ...)",
      "translation"
    ]
  },
  "source": {
    "path": "data/datatypes/any/secrets/onepassword_service_account_token.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/secrets/onepassword_service_account_token.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/secrets/onepassword_service_account_token.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/onepassword_service_account_token",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/onepassword_service_account_token.json"
  }
}