{
  "id": "redis-di-delete-secret",
  "title": "redis-di delete-secret",
  "url": "https://redis.io/docs/latest/integrate/redis-data-integration/reference/cli/redis-di-delete-secret/",
  "summary": "Deletes a secret of a pipeline",
  "tags": [
    "redis-di"
  ],
  "last_updated": "2026-07-13T12:40:14-05:00",
  "page_type": "content",
  "content_hash": "cb239c977821a57aa195ee7d0c0cfd8ef9a2d6f58afb5c127e23547c81356ba5",
  "sections": [
    {
      "id": "overview",
      "title": "Overview",
      "role": "overview",
      "text": "Deletes a secret of a pipeline. Because this is destructive, the command asks for confirmation unless\nyou pass `--force`."
    },
    {
      "id": "usage",
      "title": "Usage",
      "role": "syntax",
      "text": "[code example]"
    },
    {
      "id": "options",
      "title": "Options",
      "role": "parameters",
      "text": "| Option | Description |\n| :-- | :-- |\n| `-p`, `--pipeline` | Pipeline to target (default `default`). |\n| `--force` | Skip the confirmation prompt. |\n| `--wait` | Wait for the pipeline to reach the expected state (default `true`). |\n| `--timeout` | Maximum time to wait for the pipeline to reach the expected state (default `2m`). |\n\nThis command also accepts the\n[global options](https://redis.io/docs/latest/integrate/redis-data-integration/reference/cli/redis-di#global-options)."
    },
    {
      "id": "example",
      "title": "Example",
      "role": "example",
      "text": "[code example]"
    }
  ],
  "examples": [
    {
      "id": "usage-ex0",
      "language": "plaintext",
      "code": "redis-di delete-secret <key> [flags]",
      "section_id": "usage"
    },
    {
      "id": "example-ex0",
      "language": "bash",
      "code": "redis-di delete-secret SOURCE_DB_CACERT --force",
      "section_id": "example"
    }
  ]
}
