---
title: "Get secret"
method: GET
path: "/api/v1/orgs/{orgId}/secrets/{secretId}"
tags: ["secrets"]
---

# Get secret

`GET /api/v1/orgs/{orgId}/secrets/{secretId}`

Get secret

## Path parameters

- `orgId` integer, required
- `secretId` string, required

## Response `200`

Secret returned successfully

- SecretItem
  - `id` string
  - `name` string
  - `type` string
  - `updatedAt` string, date-time
  - `updatedBy` string
  - `tags` string[]
  - `values` object

## Other responses

- `default` — Internal server error

---

[API](https://skmtc.net/banzaicloud/apis/pipeline-api.md) · [All operations](https://skmtc.net/banzaicloud/apis/pipeline-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/banzaicloud/pipeline-api/versions/a2e35c430378/schema)
