Skip to content

Provisioned versus held

The control plane decides which identities exist. The material that proves them is issued by SPIRE and held by the workload. That split lets a hosted control plane govern a lane whose credentials stay in your infrastructure.

Three roles, one identity

flowchart LR
  CP["Control plane<br/><b>names</b>"] -->|"expected identity<br/>bundle digest and revision"| RT["runtime_trust<br/>on the assignment"]
  SP["SPIRE<br/><b>issues</b>"] -->|"X.509-SVID<br/>private key"| WL["Workload<br/><b>holds</b>"]
  CP -.->|"same naming contract"| SP
  WL -->|"presents the certificate"| RT
Role Component Produces
Names Control plane The SPIFFE ID a workload is expected to present, and the bundle digest and revision in force
Issues SPIRE server, via the node agent The certificate and its private key, to a workload that attested
Holds xratud and the project runtime kernel The certificate and key, in process memory, for its lifetime

The control plane and SPIRE arrive at the same identity string because they call the same naming function. Each derives it independently.

What the control plane keeps

{
  "trust_bundle_digest": "sha256:...",
  "trust_bundle_revision": "bundle-3f9a1c72be04",
  "expected_peer_identity": "spiffe://xratu/dataplane/xratu-dataplane-0",
  "runtime_workload_identity": "spiffe://xratu/workspace/<workspace_uuid>/runtime/<runtime_instance_id>"
}

Four strings: two names, one digest, one revision. They let a certificate be checked, not minted.

Where the rest of the material lives

Everything the lane needs beyond those four strings is held in your infrastructure:

Material Held by
Private keys for any workload identity The workload, in memory, from the Workload API
The SPIRE signing CA and its key The SPIRE server in your cluster
X.509-SVID certificates The workload that attested for them
Registry credentials The node's cloud identity
Bucket credentials The node's cloud identity
Artifact bytes and observability payload bodies Your registry and your bucket

All key material for the control lane originates in SPIRE. The kernel binds to the Workload API and consumes what the agent pushes; explicitly provisioned TLS material, where configured, is configured on the node.

Where each credential lives

/var/lib/xratu/identity/xratud.bootstrap.json   enrollment seed, on the node's retained volume
/var/lib/xratu/identity/xratud.identity.json    node identity state
/run/spiffe/workload-api/spire-agent.sock       Workload API, tmpfs, published by the CSI driver

The enrollment seed is on disk so it survives a restart: it is how a node proves continuity of enrollment rather than re-joining as a new node. The SVID lives in process memory for its hour and is replaced over the Workload API stream.

What the held values permit

Comparison, on the identity. The expected peer identity is a value to compare a presented certificate against. Commanding a kernel requires a certificate SPIRE issued to that name, and SPIRE issues to workloads that attested on the node.

Identification, on the artifacts. The control plane holds digests and object references: a digest identifies bytes, and a reference names a location that the node's cloud identity reaches. See The tenant byte boundary.

Accounting, on the payloads. Observability bodies are written by the node to your bucket, and payload_ref, payload_digest, payload_size_bytes and payload_content_type cross to the control plane. Records carrying inline bodies are refused at the boundary. See Payload storage.

Removing a compromised node's access

Certificates are issued by SPIRE, so remediating a compromised node takes two moves in two places:

xratu dataplane revoke
xratu dataplane retire

Revoking ends the node's runtime credential with the control plane, so it stops receiving assignments. Removing its registration entry from SPIRE stops it receiving a new SVID, and the current one expires within its hour. The first is a platform operation; the second belongs to whoever operates SPIRE.

The 3600s certificate lifetime bounds the window: an unremediated certificate stops working within the hour.