Invitations¶
An invitation is a short-lived, single-use credential that admits one node into one organization and one pool. An operator mints it; a node presents it once.
What an invitation scopes¶
| Field | Value |
|---|---|
tenant_scope |
The organization the node will join |
dataplane_pool |
The pool inside that organization |
tenant_governance_revision |
The organization's governance revision at mint |
expires_at_epoch |
When the code stops being redeemable |
The first two become the node's enrollment scope. The third is what ties the invitation to the terms it was minted under.
What mint requires¶
Five checks run in order, and the failure names the one that stopped it.
| Check | Failure |
|---|---|
| The actor is a bootstrap operator | 403 forbidden: non-system bootstrap operator actor required |
| The actor is authorised on the organization | 403 DATAPLANE_ENROLLMENT_TENANT_SCOPE_FORBIDDEN |
| The organization's governance is reconciled | 409 DATAPLANE_ENROLLMENT_DISCOVERY_REQUIRED |
| Tenant and data plane quotas have room | 409 tenancy policy active tenant quota exceeded |
| The pool exists | 404 DATAPLANE_ENROLLMENT_POOL_NOT_FOUND |
The CLI adds a hint to each reason code, so a refused mint tells you the command to run next rather than only the condition:
{
"status": "error",
"status_code": 409,
"reason_code": "DATAPLANE_ENROLLMENT_DISCOVERY_REQUIRED",
"reason_message": "bootstrap join blocked: tenant enrollment governance is not reconciled",
"reason_hint": "tenant enrollment bootstrap authority is not reconciled; run `xratu bootstrap reconcile <organization_name>` and retry invitation create"
}
Lifetime¶
The requested lifetime is clamped between 60 and 7200 seconds, and the CLI requests 900 by default. Mint close to the moment a node will use it: an invitation that sits unused is an admission credential in waiting.
Single use, and released on failure¶
An invitation is consumed at exchange. Presenting a consumed one is refused as replayed, and presenting an unknown one as invalid:
If the exchange fails after consumption for any other reason, the invitation is released rather than burned, so a transient failure mid-exchange leaves the code usable for the retry.
Governance revision binding¶
The invitation carries the organization's governance_revision from the moment
it was minted, and the exchange requires exact equality with the organization's
current revision:
409 DATAPLANE_ENROLLMENT_TRUST_CHAIN_INVALID
bootstrap join blocked: invitation governance revision is stale;
run tenant governance reconcile and mint a new invitation
Because every reconcile advances that revision, reconciling an organization makes its outstanding invitations unredeemable. Reconcile first, then mint. See Bootstrap reconcile.
The manual fallback¶
The CLI describes these commands as a manual fallback, and that is accurate: the install contract mints and injects invitations for you as part of deploying a data plane. Mint by hand when you are enrolling a node outside that flow, or diagnosing one that will not join. See The install contract.
Next¶
- Enrollment tokens for how the code reaches the node.
- Mint an invitation and enrollment token to mint one.