{
  "id": "stripe_api_key",
  "kind": "datatype",
  "status": "draft",
  "name": "Stripe secret or restricted API key",
  "doc": "Server-side API key of Stripe. Secret keys start with sk_ and restricted keys with rk_, followed by test_ for a sandbox or live_ for live mode. Publishable keys (pk_) are meant to be public and are not covered.",
  "parent": "api_key",
  "is_pii": false,
  "categories": [
    "secrets"
  ],
  "langs": [
    "common"
  ],
  "classification": "identifier",
  "regexp": "^(?:sk|rk)_(?:test|live)_[0-9A-Za-z]{10,99}$",
  "examples": [
    {
      "value": "pk_test_ExampleKeyExampleKeyExam",
      "description": "Publishable key",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "doc",
      "url": "https://docs.stripe.com/keys"
    },
    {
      "type": "other",
      "url": "https://github.com/gitleaks/gitleaks/blob/master/config/gitleaks.toml"
    }
  ],
  "detected_by": {
    "tools": [
      "amazonmacie",
      "detectsecrets",
      "gitleaks",
      "nightfall",
      "semgrep",
      "trufflehog"
    ]
  },
  "quality": {
    "score": 70,
    "missing": [
      "examples",
      "mapping (Wikidata, Schema.org, ...)",
      "translation"
    ]
  },
  "source": {
    "path": "data/datatypes/any/secrets/stripe_api_key.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/secrets/stripe_api_key.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/secrets/stripe_api_key.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/stripe_api_key",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/stripe_api_key.json"
  }
}