Skip to content

Exact binding and grant admission

When work arrives at a node, its permissions to fetch credentials arrive with it. Before the node uses one, it checks the permission itself: that it is for the work this node is running, for the binding revision the project was deployed with, for this node's identity, and within its time and use limits. A permission that fails is never sent to the installation-local XSRP gateway. This page covers the checks and what a failed check looks like.

The checks

The node uses a permission only when:

  1. it is for the work this node is running, and that work is assigned to this node;
  2. it is for the binding and integration revisions the project was deployed with;
  3. it names this node's own identity;
  4. it is within its time limit and has uses left;
  5. nothing it depends on has been revoked.

The node presents the permission exactly as it received it. It cannot swap the binding, add a location or ask for more.

When a check fails

Failure What happens next
The work moved to another node The old node stops; the new node receives its own permissions
Revision mismatch The fetch fails; redeploying the project issues matching permissions
Identity mismatch The fetch fails; check the node's resolver identity
Expired or used up The fetch fails; a renewal issues a new permission
Revoked The fetch fails at once

Each failure is recorded with its reason, and the fetch fails. The node never tries another binding, manager or identity, and the project is never moved to another node because of a credential.

A project that needs no credentials receives no permissions and skips this step.