{
  "schema_version": 2,
  "id": "integrate/redis-data-integration/reference/cli/redis-di-get-secret",
  "title": "redis-di get-secret",
  "url": "https://redis.io/docs/latest/integrate/redis-data-integration/1.19.1/reference/cli/redis-di-get-secret/",
  "summary": "Gets a secret of a pipeline",
  "content": "\nGets a single secret of a pipeline and prints it in the compact `list-secrets` table format. The API\nnever returns secret values, so the output shows only the key and whether it is set, not the stored\nvalue.\n\n## Usage\n\n```\nredis-di get-secret \u003ckey\u003e [flags]\n```\n\n## Options\n\n| 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/1.19.1/reference/cli/redis-di#global-options).\n\n## Example\n\n```bash\nredis-di get-secret SOURCE_DB_USERNAME\n```\n",
  "tags": ["redis-di"],
  "last_updated": "2026-09-19T17:55:58-07:00"
}
