{
  "id": "rubygems_api_key",
  "kind": "datatype",
  "status": "draft",
  "name": "RubyGems API key",
  "doc": "API key of RubyGems.org, used by the gem CLI to push and manage gems, for example through the GEM_HOST_API_KEY environment variable: rubygems_ followed by 48 hexadecimal digits.",
  "parent": "api_key",
  "is_pii": false,
  "categories": [
    "secrets"
  ],
  "langs": [
    "common"
  ],
  "classification": "identifier",
  "regexp": "^rubygems_[a-f0-9]{48}$",
  "examples": [
    {
      "value": "rubygems_ExampleKeyNotReal",
      "description": "Not hexadecimal and too short",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "doc",
      "url": "https://guides.rubygems.org/api-key-scopes/"
    },
    {
      "type": "other",
      "url": "https://github.com/gitleaks/gitleaks/blob/master/config/gitleaks.toml"
    },
    {
      "type": "other",
      "url": "https://github.com/trufflesecurity/trufflehog/blob/main/pkg/detectors/rubygems/rubygems.go"
    }
  ],
  "detected_by": {
    "tools": [
      "gitleaks",
      "trufflehog"
    ]
  },
  "quality": {
    "score": 70,
    "missing": [
      "examples",
      "mapping (Wikidata, Schema.org, ...)",
      "translation"
    ]
  },
  "source": {
    "path": "data/datatypes/any/secrets/rubygems_api_key.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/secrets/rubygems_api_key.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/secrets/rubygems_api_key.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/rubygems_api_key",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/rubygems_api_key.json"
  }
}