From the source
Baseten says it is the first inference provider to support read-only
Hugging Face Trusted Publishers, letting teams deploy private model weights without handing over a long-lived access token.
- Trusted Publishers previously issued tokens that could both read from and write to a private repository, so anyone holding one could modify the repo even when they only needed to download weights.
- With read-only access, Hugging Face issues a token at deploy time that can only read the repo and expires within an hour.
- The flow uses OpenID Connect: Baseten creates a signed identity token naming the organization, team and workload type, and Hugging Face checks the signature against the Trusted Publisher settings before issuing the token.
- Baseten says it worked with the Hugging Face team to add read-only access, and that the change removes a long-lived token that could leak or need rotation.
- Setup requires the Baseten organization and team IDs from the CLI, adding Baseten as a read-only Trusted Publisher in the Hugging Face repo settings, and pointing the Truss config at the repo with the HF_OIDC auth method.






