---
title: "Get"
method: GET
path: "/vault_secrets/{id}"
tags: ["Secrets"]
---

# Get

`GET /vault_secrets/{id}`

Get a Secret by ID

## Path parameters

- `id` string, required

## Headers

- `ngrok-version` integer, required

## Response `200`

Get a Secret by ID

- Secret
  - `id` string — identifier for Secret
  - `uri` string — URI of this Secret API resource
  - `created_at` string — Timestamp when the Secret was created (RFC 3339 format)
  - `updated_at` string — Timestamp when the Secret was last updated (RFC 3339 format)
  - `name` string — Name of secret
  - `description` string — description of Secret
  - `metadata` string — Arbitrary user-defined metadata for this Secret
  - `created_by` Ref
    - `id` string — a resource identifier
    - `uri` string — a uri for locating a resource
  - `last_updated_by` Ref
    - `id` string — a resource identifier
    - `uri` string — a uri for locating a resource
  - `vault` Ref
    - `id` string — a resource identifier
    - `uri` string — a uri for locating a resource
  - `vault_name` string — Name of the vault the secret is stored in

---

[API](https://skmtc.net/ngrok/apis/ngrok-openapi.md) · [All operations](https://skmtc.net/ngrok/apis/ngrok-openapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ngrok/ngrok-openapi/versions/1994bbb04714/schema)
