---
title: "GET /v1/secrets/{name}"
method: GET
path: "/v1/secrets/{name}"
tags: ["UserCenter"]
---

# GET /v1/secrets/{name}

`GET /v1/secrets/{name}`

GetSecret

## Path parameters

- `name` string, required

## Response `200`

OK

- UsercenterV1SecretReply
  - `userID` string
  - `name` string
  - `secretID` string
  - `secretKey` string
  - `expires` string
  - `status` integer
  - `description` string
  - `createdAt` string, date-time
  - `updatedAt` string, date-time

## Changes

- **2024-04-03** `ae599f31f558` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/onexstack/apis/miniblog-api/changes/v1/secrets/:name/get.md)

---

[API](https://skmtc.dev/onexstack/apis/miniblog-api.md) · [All operations](https://skmtc.dev/onexstack/apis/miniblog-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/onexstack/miniblog-api/revisions/9450b41c1e2f/schema)
