---
title: "Get a secret provider"
method: GET
path: "/api/v1/secret_providers/{id}"
tags: ["Secret providers"]
---

# Get a secret provider

`GET /api/v1/secret_providers/{id}`

## Request

- Base URL: `https://pcp.example.com`
- URL: `https://pcp.example.com/api/v1/secret_providers/{id}`
- Auth: HTTP bearer

## Path parameters

- `id` string, required

## Query parameters

- `organization_id` string, uuid
- `revision` integer

## Response `200`

OK

- GetSecretProviderResponse: GetSecretProviderResponse schema
  - `created_at` string, date-time
  - `fields` object
  - `id` string, uuid
  - `integration` object
    - `created_at` string, date-time
    - `fields` object, nullable
    - `id` string, uuid
    - `name` string, nullable
    - `protocols` string[], nullable
    - `supports` string[], nullable
    - `updated_at` string, date-time
    - `version` string, nullable
  - `last_check` string, date-time
  - `name` string
  - `protocol` string
  - `revision` integer
  - `updated_at` string, date-time

## Other responses

- `400`: Bad Request _(validation or deserialization error)_
- `401`: Missing, invalid or expired credentials
- `403`: The caller may not do this
- `500`: Internal Server Error _(panics)_
- `default`

---

[API](https://skmtc.dev/plakar/apis/plakar-control-plane-api-v1.md) - [All operations](https://skmtc.dev/plakar/apis/plakar-control-plane-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/plakar/apis/plakar-control-plane-api-v1/revisions/2ac049494a01?raw)
