ASPTC¶
ASPTC, actor-scoped provider transfer credentials, is how artifact transfers stay inside the trust boundary of your organization. Every credential is issued by your cloud provider to your data plane, for one authorized transfer, and Xratu's control plane never holds a usable one. For what an ASPTC is and how one is issued, see ASPTC.
What is guaranteed¶
- Authorization comes first. The control plane authorizes the operation before any credential exists, and your data plane mints only for assignments the control plane issued. A CLI cannot ask your data plane for a credential directly: the data plane only pulls assignments.
- Every credential is provider-issued. It comes from your cloud provider, with the provider's provenance, scope and audit claims, so every transfer is recorded in your own cloud audit log under your own identities.
- Every credential is short-lived. It expires with the transfer it was issued for.
- The binding holds end to end. The actor, organization, workspace, CLI session, target, digest and size are carried through the request, the credential and the control plane's record, and must match at every step.
- The live credential stays encrypted. It reaches the CLI only encrypted to that CLI session's key, and the control plane's ordinary state holds only descriptive metadata.
- The object is verified. Your data plane checks the transferred artifact against the bound digest and size before the operation completes.
What is refused¶
The exchange fails closed. A credential is refused when:
- it is an Xratu bearer token,
Authorization: Bearer xratu.*, instead of a provider-issued credential; - its provider provenance or scope is missing or empty;
- its actor, organization, workspace, provider, cloud identity or session differs anywhere between the credential, the control plane's record and the target;
- its digest or size differs from the publish request;
- its upload address points at a host other than the registry target;
- a secret-bearing header or field would reach the control plane's record.
Scope, and how exactness is enforced¶
Your cloud provider scopes a credential as finely as its IAM allows, which for registries is the repository. Exactness down to one artifact is enforced by Xratu: the operation is bound to one digest and size, and your data plane verifies the uploaded artifact against them before the publication completes.
Related: Artifact registry and blob references and Credential boundary.