{
  "schema_version": 2,
  "id": "operate/rs/references/rest-api/objects/bootstrap/user_defined_module",
  "title": "user_defined_module object",
  "url": "https://redis.io/docs/latest/operate/rs/8.0/references/rest-api/objects/bootstrap/user_defined_module/",
  "summary": "An object for user-defined module configuration during bootstrap",
  "content": "\nA user-defined module configuration object for bootstrap operations.\n\n| Name | Type/Value | Description |\n|------|------------|-------------|\n| name | string | Module name for presentation and logging purposes (required) |\n| location | object | Information on where to download the module from (required)\u003cbr /\u003e{\n  \"location_type\": \"http | https\",\n  \"url\": \"string\",\n  \"credentials\": {\n    \"username\": \"string\",\n    \"password\": \"string\"\n  }\n}\u003cbr /\u003e**location_type**: The type of location, either `http` or `https` (required)\u003cbr /\u003e**url**: The URL to download the module zip file from (required)\u003cbr /\u003e**credentials**: Optional credentials for downloads that require basic authentication |\n\n## Module package requirements\n\nThe module must be packaged as a `.zip` file containing:\n\n- **module.json**: A metadata file with module information including:\n  - `module_name`: The actual module name\n  - `version`: Numeric version\n  - `semantic_version`: Semantic version string (for example, \"1.0.0\")\n  - `min_redis_version`: Minimum compatible Redis version\n  - `commands`: List of commands the module provides\n  - `capabilities`: List of module capabilities\n\n- **Module binary**: The compiled `.so` file for the target platform\n",
  "tags": ["docs","operate","rs"],
  "last_updated": "2026-08-24T11:13:03-07:00"
}
