---
title: "Get secret by name"
method: GET
path: "/vault/v1/api/{teamId}/secrets/name/{secretName}"
tags: ["Vault"]
---

# Get secret by name

`GET /vault/v1/api/{teamId}/secrets/name/{secretName}`

Retrieve a vault secret by its name

## Path parameters

- `teamId` string, required
- `secretName` string, required

## Response `200`

Secret retrieved successfully

- ResponseMessage
  - `message` string

---

[API](https://skmtc.net/smythos/apis/smyth-api.md) · [All operations](https://skmtc.net/smythos/apis/smyth-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/smythos/smyth-api/revisions/1475e078fb4a/schema)
