What happened
Previously, providers typically used a long-lived Hugging Face token that remained valid until deleted; a classic read token can reach every private repository its owner can access, including organization repositories. The earlier Trusted Publisher token could read and write to the private repository. The new read-only token is limited to a single repository, cannot modify it, and expires within an hour of issuance at deployment time.
The exchange uses OpenID Connect: Baseten creates a signed identity token naming the deployment's organization, team and workload type; Hugging Face verifies it against the repository's Trusted Publisher settings before issuing the scoped token. To configure it, find the Baseten organization and team IDs with the CLI, add Baseten as a Trusted Publisher in the Hugging Face repository settings with those scopes, and select Read-only. In Truss, point to the repository and set auth_method to HF_OIDC and hf_oidc_resource to the repository identifier. Baseten says its guide also covers gated models and volume sync.
Why it matters
For a team lead, the operational change is avoiding a stored credential shared across systems: Baseten says the deployment flow needs no long-lived token that could leak or require rotation. The old rotation process meant creating a replacement in Hugging Face, updating it in Baseten, then deleting the old token.
Limits and uncertainty
The “first inference provider” characterization is Baseten's claim.
Reader takeaway
The new flow narrows both token lifetime and permissions: Hugging Face issues a read-only token for one repository at deployment time, and it expires within an hour. Teams still need to configure Baseten as a Trusted Publisher and set the matching Truss authentication fields, but avoid storing and rotating a long-lived Hugging Face token in Baseten.