Skip to Content
Xeonr Developer Docs

CreateCredential

POST
/xeonr.burrow.v1.ManagedProvisioningService/CreateCredential

CreateCredential mints a reservation-bound agent credential. The secret is returned only once; a retry after an ambiguous response returns the credential metadata with secret_available=false.

Authorization

BearerAuth
AuthorizationBearer <token>

A Xeonr Auth access token whose audience is this API, or a team API key (xk_…), presented as Authorization: Bearer ….

In: header

Header Parameters

Connect-Protocol-Version*number

Define the version of the Connect protocol

Value in1
Connect-Timeout-Ms?number

Define the timeout, in ms

Request Body

application/json

teamUrn?string
Length1 <= length <= 128
externalId?string
Length1 <= length <= 192
requestId?string
Length1 <= length <= 128
name?string
Lengthlength <= 64
operationUrn?string
Lengthlength <= 192
executionGeneration?|
Formatint64
Range0 < value
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://burrow.prod.wtf/xeonr.burrow.v1.ManagedProvisioningService/CreateCredential" \  -H "Connect-Protocol-Version: 1" \  -H "Content-Type: application/json" \  -d '{}'
{
  "credential": {
    "id": "urn:xeonr:auth:api-key:7e0c1e52-3a0d-4a0a-9b2e-2f0f7a1b9c3d",
    "name": "living-room-pi",
    "reservationId": "c8e1f4a2-6b3d-4f7e-9a0c-3d5e7f9b1a28",
    "keyPrefix": "7Hq2Lm9x",
    "createdBy": "urn:xeonr:auth:uid:user:3",
    "createdAt": "2026-10-01T08:16:00Z",
    "lastUsedAt": "2026-10-22T09:30:00Z",
    "expiresAt": "2027-10-01T00:00:00Z",
    "revokedAt": "2026-10-21T17:45:00Z"
  },
  "secret": "string",
  "secretAvailable": true
}