Skip to content

Model-serving secret resolution

A model you serve gets its credentials the same way as any other project: the keys its blocks declare are mapped in the project's auth.xratu, and the node running the serve fetches them through its installation-local XSRP gateway. The model's own document holds no credentials. This page covers where the fetch happens in a serve, what rotation does to a running model, and what the design leaves open.

Where the fetch happens

A serve runs in a fixed order on the node. The credential fetch is step 4, after the network, GPU and scaling checks and before the model weights are loaded. A model with no declared keys skips it. See Serve materialization and contract projection.

Rotation and moves

A running model follows each binding's versionPolicy.mode: with exact or currentAtFirstResolution it keeps the version it fetched; with renewableCurrent it picks up a rotated credential on renewal. When a serve moves to another node, the new node fetches again.

Open decision

The design leaves open how a fetched credential is handed to a serving engine, both for self-hosted engines and for proxy runtimes. This includes credentials for pulling a private engine image and for reading model weights from a bucket that needs its own credential.