---
title: "Test credential provider connection"
method: POST
path: "/org/credential_providers/{id}/test"
tags: ["Credential Providers"]
---

# Test credential provider connection

`POST /org/credential_providers/{id}/test`

Validate the credential provider's token and list accessible vaults.

## Path parameters

- `id` string, required

## Response `200`

Connection test successful

- CredentialProviderTestResult — Result of testing a credential provider connection
  - `success` boolean, required — Whether the connection test was successful
  - `vaults` object[], required — List of vaults accessible by the service account
    - `id` string, required — Vault ID
    - `name` string, required — Vault name
  - `error` string — Error message if the test failed

## Other responses

- `401` — Unauthorized – missing or invalid authorization token
- `403` — Forbidden – insufficient permissions or plan
- `404` — Resource not found
- `500` — Internal Server Error

---

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