Store API credentials for a provider that uses API key authentication.
admin
Bearer <your-jwt>.datadog. Must be a provider with authType: api_key in the catalog.requiredFields per provider. Example for Datadog: { "api_key": "...", "application_key": "..." }.201 Created.
| Field | Type | Description |
|---|---|---|
credentialId | string | Unique credential identifier |
provider | string | Provider name |
label | string | Optional label you provided |
status | string | validated if credentials were successfully tested, unverified otherwise |
createdAt | string | ISO 8601 timestamp |
| Status | Error code | Description |
|---|---|---|
400 | validation_error | Missing required credential fields |
401 | unauthorized | Missing or invalid JWT |
403 | forbidden | Caller lacks admin role |
422 | credential_validation_failed | CauseFlow tested the credentials against the provider and they were rejected |