---
title: "Get secrets provider details"
method: GET
path: "/api/v1beta/secrets/default"
tags: ["secrets"]
---

# Get secrets provider details

`GET /api/v1beta/secrets/default`

Get details of the default secrets provider

## Response `200`

OK

- PkgApiV1GetSecretsProviderResponse — Response containing secrets provider details
  - `capabilities` PkgApiV1ProviderCapabilitiesResponse — Capabilities of the secrets provider
    - `can_cleanup` boolean — Whether the provider can cleanup all secrets
    - `can_delete` boolean — Whether the provider can delete secrets
    - `can_list` boolean — Whether the provider can list secrets
    - `can_read` boolean — Whether the provider can read secrets
    - `can_write` boolean — Whether the provider can write secrets
  - `name` string — Name of the secrets provider
  - `provider_type` string — Type of the secrets provider

## Other responses

- `404` — Not Found - Provider not setup
- `500` — Internal Server Error

---

[API](https://skmtc.dev/stacklok/apis/toolhive-api.md) · [All operations](https://skmtc.dev/stacklok/apis/toolhive-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/stacklok/toolhive-api/revisions/e9f942effcda/schema)
