WorkerCredentials

Create or rotate a worker credential

Changed on
post/api/v1/workers/credentials

Request

  • Base URL: http://localhost:8081
  • URL: http://localhost:8081/api/v1/workers/credentials
  • Auth: one of:
    • API key in header X-API-Key
    • HTTP bearer

Headers

X-Tenant-IDstring required

Tenant isolation header (required on all protected routes).

Request body

worker_idstring required
allowed_poolsstring[]
allowed_topicsstring[]
agent_idstring

Active agent identity in the same tenant; required for proof-key enrollment.

proof_key_idstring
proof_algorithm'ECDSA_P256_SHA256'
proof_public_key_pemstring

ECDSA P-256 public key encoded as SubjectPublicKeyInfo PEM.

Response

Credential rotated

worker_idstring required
tenant_idstring required
allowed_poolsstring[]
allowed_topicsstring[]
pack_idstring
agent_idstring
proof_key_idstring
proof_algorithm'ECDSA_P256_SHA256'
created_bystring required
created_atstring date-time required
revoked_atstring date-time
tokenstring required

Changes

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the optional property //// to the response with the status

    • info

      added the optional property //// to the response with the status

    • info

      added the optional property //// to the response with the status

    • info

      added the optional property //// to the response with the status

    • info

      added the optional property //// to the response with the status

    • info

      added the optional property //// to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the required property //// to the response with the status

    • info

      added the required property //// to the response with the status