v2

latestOpenAPI 3.0.3Apache 2.0raw.githubusercontent.com2026-01-12412664.0 KB
Bootstrap

Bootstrap Agent Identity from Docker

Bootstrap an agent identity using Docker container metadata. This allows agents running in Docker containers to automatically obtain cryptographic identities.

post/auth/bootstrap/docker

Request body

container_idstring required

Docker container ID

runtime_tokenstring required

Runtime-generated token for container identity verification

Example request

{
  "container_id": "a1b2c3d4e5f6",
  "runtime_token": "runtime-token-abc123"
}

Response

Agent identity bootstrapped successfully

agent_idstring
private_key_b64string base64

Base64 encoded private key (returned only once)

public_key_b64string base64

Base64 encoded public key

Example response

{
  "agent_id": "agent-bootstrapped-1234",
  "private_key_b64": "MC4CAQAwBQYDK2VwBCIEIA...",
  "public_key_b64": "MCowBQYDK2VwAyEA..."
}