{
  "id": "redis-di-list-secrets",
  "title": "redis-di list-secrets",
  "url": "https://redis.io/docs/latest/integrate/redis-data-integration/reference/cli/redis-di-list-secrets/",
  "summary": "Lists the secrets of a pipeline",
  "tags": [
    "redis-di"
  ],
  "last_updated": "2026-07-13T12:40:14-05:00",
  "page_type": "content",
  "content_hash": "e48968eac317e61e252513c212078357583e6b95705b3f3f10f333d0ce752bb4",
  "sections": [
    {
      "id": "overview",
      "title": "Overview",
      "role": "overview",
      "text": "Lists the secrets of a pipeline. The API never returns secret values, so the output shows only the\nsecret keys and whether each one is set, not the stored values."
    },
    {
      "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| `-o`, `--output` | Output format: `table` (default), `json`, or `yaml`. |\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 list-secrets [flags]",
      "section_id": "usage"
    },
    {
      "id": "example-ex0",
      "language": "bash",
      "code": "redis-di list-secrets\nredis-di list-secrets -p my-pipeline",
      "section_id": "example"
    }
  ]
}
