APINHI

Test NHI credentials

Check credentials without storing anything, so a client can report a specific failure before creating the source.

POST/nhi/providers/{provider}/test

Check credentials without storing anything, so a client can report a specific failure before creating the source.

Path Parameters

provider*"microsoft_entra"

A directory that owns non-human identities.

Value in

  • "microsoft_entra"

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Request body for testing credentials without storing them. The config's provider must match the path.

Response Body

application/json

curl -X POST "https://example.com/nhi/providers/microsoft_entra/test" \  -H "Content-Type: application/json" \  -d '{    "config": {      "provider": "microsoft_entra",      "tenant_id": "string",      "client_id": "string",      "client_secret": "string"    }  }'
Empty