{
  "schema_version": 2,
  "id": "integrate/redis-data-integration/reference/cli/redis-di-configure-rdi",
  "title": "redis-di configure-rdi",
  "url": "https://redis.io/docs/latest/integrate/redis-data-integration/reference/cli/redis-di-configure-rdi/",
  "summary": "Configures the RDI database connection",
  "tags": [
    "redis-di"
  ],
  "last_updated": "2026-07-16T09:05:11+01:00",
  "page_type": "content",
  "content_hash": "8cc642ed9c2d22cddffc65216ca8f1e4f56dc2644ad38bf847aec0bf1d0b31ae",
  "sections": [
    {
      "id": "overview",
      "title": "Overview",
      "role": "overview",
      "text": "Configures the connection credentials for the RDI database. This is an administration command that is\navailable only on VM installations, where `redis-di` forwards it to the bundled `rdi-admin` tool."
    },
    {
      "id": "usage",
      "title": "Usage",
      "role": "syntax",
      "text": "[code example]"
    },
    {
      "id": "options",
      "title": "Options",
      "role": "parameters",
      "text": "| Option               | Description                                                                              |\n| :------------------- | :--------------------------------------------------------------------------------------- |\n| `-l`, `--log-level`  | Log level: `TRACE`, `DEBUG`, `INFO`, `WARNING`, `ERROR`, or `CRITICAL` (default `INFO`). |\n| `--rdi-namespace`    | RDI Kubernetes namespace (default `rdi`).                                                |\n| `--rdi-host`         | Host or IP of the RDI database (required).                                               |\n| `--rdi-port`         | Port of the RDI database, `1`–`65535` (required).                                        |\n| `--rdi-user`         | RDI database username.                                                                   |\n| `--rdi-password`     | RDI database password.                                                                   |\n| `--rdi-key`          | Private key file to authenticate with.                                                   |\n| `--rdi-cert`         | Client certificate file to authenticate with.                                            |\n| `--rdi-cacert`       | CA certificate file to verify with.                                                      |\n| `--rdi-key-password` | Password for unlocking an encrypted private key.                                         |\n| `--rdi-log-level`    | Log level for the RDI components.                                                        |"
    }
  ],
  "examples": [
    {
      "id": "usage-ex0",
      "language": "plaintext",
      "code": "redis-di configure-rdi [OPTIONS]",
      "section_id": "usage"
    }
  ]
}
