From the source
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.






