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

# GetSecret

`GET /v1/secrets/{name}`

## Path parameters

- `name` string, required

## Response `200`

A successful response.

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

## Other responses

- `default` — An unexpected error response.

---

[API](https://skmtc.net/onexstack/apis/usercenter-v1-usercenter-proto.md) · [All operations](https://skmtc.net/onexstack/apis/usercenter-v1-usercenter-proto/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/onexstack/usercenter-v1-usercenter-proto/revisions/fc95c4d4129d/schema)
