---
title: "Retrieve Secret by Name"
method: GET
path: "/vault/secrets/{name}"
tags: ["Vault"]
---

# Retrieve Secret by Name

`GET /vault/secrets/{name}`

Retrieve a secret directly from the vault by name.
This is for administrative/CLI use and bypasses the ephemeral credential system.

## Path parameters

- `name` string, required

## Response `200`

Secret retrieved successfully

- object
  - `name` string
  - `value` string
  - `created_at` string, date-time

## Other responses

- `401` — Unauthorized - Invalid or missing authentication
- `404` — Secret not found
- `500` — Internal Server Error - Unexpected server error

---

[API](https://skmtc.net/deeptrail/apis/deepsecure-api-dual-service-architecture.md) · [All operations](https://skmtc.net/deeptrail/apis/deepsecure-api-dual-service-architecture/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/deeptrail/deepsecure-api-dual-service-architecture/versions/78627360c082/schema)
