Runtime identity issuer¶
A node's runtime credential is issued by the control plane and renewed on a schedule. The credential carries the node's identity, the control plane's identity, the tenancy policy it was issued under, and the scope it is valid for, so a request presenting it is self-describing.
Three operations¶
| Operation | Does |
|---|---|
| Issue | Mints a runtime credential for a node |
| Renew | Refreshes one before it expires |
| Validate or raise | Checks a request's credential and refuses if it does not hold |
The validator raises rather than returning a verdict, so a caller cannot proceed on an unchecked credential by ignoring a return value.
The required claims¶
dataplane_uuid which node
dataplane_instance_uuid which instance of it
cp_instance_uuid which control plane issued it
cp_identity_revision under which identity revision
tenancy_policy_revision under which tenancy policy
tenancy_policy_source_spec_digest the digest of the spec that policy came from
tenant_scope which tenant the node acts for
dataplane_pool which pool it belongs to
jti the credential's own identifier
aud, exp, nbf audience and validity window
issuer_revision which issuer revision minted it
Every one is required. A credential missing any of them does not validate, so the claim set serves as an authorisation input rather than a hint.
What the claims let the control plane decide without a lookup¶
flowchart LR
subgraph CR["RUNTIME CREDENTIAL, carried on every request"]
direction TB
C1["dataplane_uuid,<br/>dataplane_instance_uuid"]
C2["cp_instance_uuid,<br/>cp_identity_revision"]
C3["tenancy_policy_revision,<br/>source spec digest"]
C4["tenant_scope,<br/>dataplane_pool"]
end
subgraph DEC["DECIDED FROM THE CLAIMS"]
direction TB
D1["Which node"]
D2["Issued by this control plane"]
D3["Under current tenancy policy"]
D4["Dispatch scope admission"]
end
C1 --> D1
C2 --> D2
C3 --> D3
C4 --> D4
Each group of claims answers one question on the right, and every answer comes from the credential itself. Shared-mode dispatch admission reads the scope from the bottom group without a lookup.
The tenant scope and pool travel in the credential, so shared-mode dispatch admission has the node's scope from the request itself. See Admission and tenancy scoping.
Binding to the control plane's identity¶
Carrying cp_instance_uuid and cp_identity_revision binds the credential to
the control plane that issued it. A credential does not remain valid against a
control plane with a different identity, so identity drift invalidates
credentials rather than silently accepting them.
Binding to the tenancy policy¶
The credential names both the tenancy policy revision and the digest of the spec it came from. A credential therefore states the policy it was issued under, and a policy change is visible as a revision difference rather than requiring the policy to be re-read to find out what applied.
Renewal, not re-enrollment¶
A node refreshes its credential as part of its cycle, before calls that need a fresh one. Renewal keeps the node's durable identity and its registration intact; re-enrollment is a different and heavier path, taken only when the registration itself is gone. See Detecting a control plane link break.
The issuer is versioned¶
The issuer's contract version is one of the four versions a node and the control plane must agree on at pull and watch, so a change to how credentials are issued fails closed rather than producing credentials the other side does not accept.