---
title: "Get Secret"
method: GET
path: "/secrets/{name}"
---

# Get Secret

`GET /secrets/{name}`

## Request

- Base URL: `https://api-docs.session-exchange.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api-docs.session-exchange.com/secrets/{name}`
- Auth: none declared

Resolve the bearer to its producer owner_id (in THIS tenant), require unseal +
a grant, then decrypt with the tenant's DEK and return {value}. Audited every call.

## Path parameters

- `name` string, required

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/session-exchange/apis/a4sx.md) · [All operations](https://skmtc.dev/session-exchange/apis/a4sx/llms.txt) · [OpenAPI document](https://skmtc.dev/session-exchange/apis/a4sx/revisions/abaefc33dfc7?raw)
