---
title: "Bootstrap Agent Identity from Docker"
method: POST
path: "/auth/bootstrap/docker"
tags: ["Bootstrap"]
---

# Bootstrap Agent Identity from Docker

`POST /auth/bootstrap/docker`

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

## Request body

- DockerBootstrapRequest
  - `container_id` string, required — Docker container ID
  - `runtime_token` string, required — Runtime-generated token for container identity verification

## Response `200`

Agent identity bootstrapped successfully

- BootstrapResponse
  - `agent_id` string
  - `private_key_b64` string, base64 — Base64 encoded private key (returned only once)
  - `public_key_b64` string, base64 — Base64 encoded public key

## Other responses

- `400` — Bad Request - Invalid input parameters
- `500` — Internal Server Error - Unexpected server error

---

[API](https://skmtc.net/deeptrail/apis/deepsecure-api-dual-service-architecture.md) · [All operations](https://skmtc.net/deeptrail/apis/deepsecure-api-dual-service-architecture/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/deeptrail/deepsecure-api-dual-service-architecture/versions/78627360c082/schema)
