{
  "id": "rubygems_api_key",
  "name": "RubyGems API key",
  "status": "draft",
  "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": {
    "type": "api_key"
  },
  "categories": [
    {
      "id": "secrets",
      "name": "Secrets and credentials (passwords, keys, tokens)"
    }
  ],
  "langs": [
    {
      "id": "common",
      "name": "Common to most languages"
    }
  ],
  "is_pii": false,
  "classification": "identifier",
  "regexp": "^rubygems_[a-f0-9]{48}$",
  "examples": [
    {
      "value": "rubygems_ExampleKeyNotReal",
      "valid": false,
      "description": "Not hexadecimal and too short"
    }
  ],
  "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"
    }
  ],
  "type": "datatype",
  "translations": {}
}