# Baseten — Least-privilege access for inference workloads

- Company: Baseten (baseten.co)
- Announced: 2026-11-25T16:49:42+00:00
- Category: not stated
- Coverage: not counted
- Announcement: no
- Group: routine
- Source: https://www.baseten.co/blog/least-privilege-access-for-inference-workloads
- Record: https://forck.live/items/41170-least-privilege-access-for-inference-workloads
- Subject: Baseten

Baseten is documenting how teams can apply least-privilege access to inference workloads, replacing permanent cloud keys and open internet access with scoped, short-lived credentials. The post walks through three controls across a model's deployment lifecycle: OpenID Connect, the Baseten Delivery Network, and egress restrictions. OIDC replaces long-lived cloud keys with signed, short-lived tokens tied to a specific deployment, so each credential works only for the job it was issued for and expires automatically. BDN mirrors weights once into a read-only sealed volume identified by a digest of its contents, so serving replicas never need access to the original bucket and cold starts no longer depend on downloading weights from S3. Runtime OIDC makes a short-lived Baseten token available inside the serving container, which model code exchanges through AWS Security Token Service for credentials to assume an IAM role scoped to the adapter prefix. Egress restrictions narrow outbound access to an allow list of domains and IP ranges; by default deployments can reach internet hosts on TCP ports 443 and 80. Baseten notes that domains are enforced by IP address, and since S3 serves many buckets from shared IPs, the IAM policy determines which buckets are reachable.

## Evidence

Verbatim from https://www.baseten.co/blog/least-privilege-access-for-inference-workloads:

> Inference workloads often need to connect securely to external data or services, like loading private weights from cloud storage or fetching LoRA adapters at request time. The easiest way to set that up is with a permanent cloud key and open internet access, but that gives the model far more access than it needs—and it's easy to exploit. Each deployment should access only the resources it needs, without risking exposure of credentials or data.
> 
> Baseten gives you controls to set boundaries on that access. OpenID Connect (OIDC) replaces permanent cloud keys with short-lived tokens tied to a specific deployment, so each credential works only for the job it was issued for and expires automatically. The Baseten Delivery Network (BDN) mirrors your weights once into a read-only volume, so serving replicas never need access to your bucket. Egress restrictions also limit outbound connections to the hosts a model actually calls, so a compromised container can't reach anywhere else. Together, they let teams apply least-privilege access to production workloads.
> 
> This blog outlines how to use these controls across a model's deployment lifecycle.

---

Record: https://forck.live/items/41170-least-privilege-access-for-inference-workloads
Catalogue: https://forck.live/llms.txt
Current issue: https://forck.live/feed.md
