Skip to content

Deepgram Routes SageMaker AI Support Through Time-Boxed IAM Delegation

Deepgram now reaches a customer's SageMaker AI endpoint through a read-only, twelve-hour IAM delegation the customer approves, not a standing cross-account role.

Diagram of the Deepgram IAM temporary delegation flow for SageMaker support across six lanes
Credit: AWS

Deepgram rebuilt the way its support engineers get into a customer's AWS account, replacing standing cross-account roles with a scoped request the customer approves in their own console and that expires twelve hours later.

The mechanism is a new AWS capability called IAM temporary delegation, and Deepgram's account of the integration attaches a number to it: initial investigation on an Amazon SageMaker AI support ticket that used to take days now takes minutes. No sample size sits behind that figure.

The isolation that creates the problem is deliberate. Enterprises run Deepgram's speech models inside their own accounts for data residency, network segmentation, and compliance reasons, which is precisely what keeps a Deepgram engineer outside the virtual private cloud holding the endpoint that is misbehaving.

That left three unappealing options. A long-lived cross-account IAM role works, but it is a standing grant somebody has to inventory, justify at audit, and remember to revoke. A screen share needs two calendars to align and produces no per-command attribution, which is a poor fit anywhere every action has to be traceable to a person. Handing the customer a list of commands to paste is workable once and falls apart as soon as the diagnosis needs a second pass.

The replacement runs out of Deepgram's own ticketing system. An engineer issues a /delegate_access command, the customer answers with the endpoint's Amazon Resource Name, the single value that scopes the entire request, and the integration calls iam:CreateDelegationRequest against a pre-registered permission template. The customer opens the request in the IAM console and reads the fully resolved policy, every resource ARN spelled out and no wildcards, then approves or denies it. AWS issues short-lived Security Token Service credentials bound to that template.

The grant is deliberately small: read-only, one endpoint, one Amazon CloudWatch log group, one Region, one account, and twelve hours before the credentials lapse on their own. The customer can revoke earlier from the same screen, and calls made with the delegated credentials land in their AWS CloudTrail tagged with Deepgram's partner account ID, provided CloudTrail is already switched on in that Region. The integration does not enable it, which makes an existing trail a prerequisite rather than a feature.

Approval bends around the org chart too: a reviewer without the iam:AcceptDelegationRequest permission can forward the request upward with a written justification instead of stalling it. The step worth reading closely is the last one on Deepgram's side, where the integration posts the issued credentials into the support ticket's internal discussion. They are read-only and they lapse, but the ticketing system becomes a place where working credentials to a customer endpoint briefly sit.

Share this story

Julian Beaumont

Julian Beaumont covers artificial intelligence and large language models for techshooked, following a model from research paper to product feature. Coverage explains what a new model can do, how it was trained and evaluated, where its benchmarks are strong and where they stop being informative, and what the change means for the developers building on its API.