---
title: "Get the seceret value/data for given key"
method: GET
path: "/cluster/secrets/"
tags: ["secrets"]
---

# Get the seceret value/data for given key

`GET /cluster/secrets/`

This will return the value/data for given secret key

## Query parameters

- `id` string, required

## Response `200`

returns the value/data for given key

- GetSecretResponse — GetSecretResponse gets secret value for given key
  - `SecretValue` object

## Changes

- **2018-04-20** `481e7907ba53` — 1 info
  - endpoint added
- **2017-12-05** `d79082f863d1` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/libopenstorage/apis/osd-api/changes/cluster/secrets/get.md)

---

[API](https://skmtc.dev/libopenstorage/apis/osd-api.md) · [All operations](https://skmtc.dev/libopenstorage/apis/osd-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/libopenstorage/osd-api/revisions/9faa312702c4/schema)
