---
title: "Get secret details"
method: GET
path: "/fastedge/v1/secrets/{secret_id}"
tags: ["FastEdge Secrets"]
---

# Get secret details

`GET /fastedge/v1/secrets/{secret_id}`

Retrieve complete metadata for a specific secret including all time-based slots.
Secret values remain encrypted; use the encryption service to decrypt when needed.

## Path parameters

- `secret_id` integer, required

## Response `200`

Returns secret metadata and slot information (values are encrypted)

- Secret
  - `name` string — The unique name of the secret.
  - `comment` string — A description or comment about the secret.
  - `app_count` integer — The number of applications that use this secret.
  - `secret_slots` SecretSlot[] — A list of secret slots associated with this secret.
    - `slot` integer, required — Unix timestamp (seconds since epoch) indicating when this secret version becomes active. Use for time-based secret rotation.
    - `value` string — The plaintext secret value. Will be encrypted with AES-256-GCM before storage.
    - `checksum` string — SHA-256 hash of the decrypted value for integrity verification (auto-generated)

## Other responses

- `404` — Secret not found

---

[API](https://skmtc.dev/g-core/apis/gcore-openapi.md) · [All operations](https://skmtc.dev/g-core/apis/gcore-openapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/g-core/gcore-openapi/revisions/09e652815095/schema)
