Skip to content

Enrollment and node identity

How a node becomes itself and stays itself: the files enrollment leaves on its volume, the checks xratud makes against them on every start, and the short-lived credential it renews while it runs. These pages are the node side of enrollment; the control plane's side and the operator procedure are in Invitations and enrollment.

Node identity

flowchart TB
  subgraph VOL["/var/lib/xratu, the node's volume"]
    direction TB
    SEED[("Seed<br/>identity set, credential,<br/>discovery pin")]
    IDS[("Identity state<br/>continuity record")]
  end
  subgraph XD["XRATUD, on every start"]
    direction TB
    CONT{{"Continuity check"}}
    DISC{{"Discovery validation"}}
    CRED["Runtime credential<br/>renewed while running"]
    CONT --> DISC --> CRED
  end
  CP["Control plane"]
  INIT["Init container<br/>exchange, once"]
  INIT --> SEED
  INIT --> IDS
  SEED --> CONT
  IDS --> CONT
  DISC <-->|"pin compared"| CP
  CRED <-->|"renew, proof per request"| CP

Enrollment writes the volume once, and everything after that is xratud checking the volume against itself and against the control plane. A node that passes both checks registers under a credential that names its process, and keeps renewing it for as long as it runs.

In this section