---
title: "Grant Secret"
method: POST
path: "/vault/grants"
---

# Grant Secret

`POST /vault/grants`

## 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/vault/grants`
- Auth: none declared

Admin: grant a producer read access to a secret (emit secret.granted), or — with
`access: "write"` — write access to exactly that secret (emit secret.write_granted).

## Request body

- object

## 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)
