The Short Answer
On November 19, 2026, AWS added a new API to its Security Token Service: GetScopedCredentials. It takes the temporary credentials a workload already holds and returns a second set that can do less, expires sooner, or both — same identity, strictly narrower permissions. AWS’s own pitch, checked on its What’s New page on November 28, 2026, is aimed squarely at the agent era: give “your agents, sub agents and workloads their own set of credentials with only the permissions they need,” without creating new roles or changing how you manage identities.
That last clause is the real news. Until now, handing a sub-process weaker AWS credentials meant assuming another role with a session policy — a mechanism with a one-hour lifetime cap on chained sessions and a quirk where each new session policy silently replaces the previous one. GetScopedCredentials removes both constraints: restrictions stack instead of replacing each other, and lifetimes run from one second up to whatever time the calling session has left. It is available now in all AWS commercial Regions, the GovCloud (US) Regions, the European Sovereign Cloud (Germany) and the China Regions, and every call is logged to CloudTrail.
It is not a replacement for well-scoped IAM roles, and it has sharp edges — you cannot revoke one sub-agent’s credentials without revoking its parent session, and a handful of services reject scoped credentials outright. But for anyone running AI agents, CI/CD pipelines or multi-tenant workers on AWS, this is the cheapest least-privilege control AWS has shipped in years, landing two days before re:Invent opens on November 30.
What AWS Actually Shipped
GetScopedCredentials is a single STS call. You invoke it with temporary credentials you already have — from an assumed role, a federated session, an EC2 instance profile, a Lambda function, or an aws login session, per AWS’s Security Blog walkthrough — and you pass a scope-down policy, a shorter duration, or both. At least one of the two is required. The scope-down policy is an ordinary inline IAM policy document, up to 2,048 characters at launch, describing the maximum permissions the new credentials may carry.
The authorization rule is simple and strict: the result is the intersection of the calling session’s effective permissions and your scope-down policy. A scope-down policy can only restrict; it can never grant anything the caller does not already have. Duration works the same way — ask for anything from one second upward, but the new credentials can never outlive the parent session, and if you omit the duration they simply inherit the caller’s remaining time. AWS calls this “monotonically narrowed”: every step can only shrink what the credentials can do and how long they live.
What does not change is who you are. The scoped credentials keep the caller’s principal ARN, role session name, session tags and source identity — so CloudTrail still shows which session started the work, and no new trust policy or role is needed. Access to the API is controlled by IAM (the caller needs sts:GetScopedCredentials allowed), and organizations can cap lifetimes centrally with the sts:DurationSeconds condition key; AWS’s own example denies scoped sessions longer than 900 seconds.
The call is recursive: scoped credentials can narrow again, which is the orchestrator pattern AWS is selling — a parent agent mints a read-only-one-bucket copy for a retrieval sub-agent, which mints an even narrower copy for a tool call. Each call adds an independent restriction layer (up to three policy layers per session; duration-only calls do not consume one), and earlier layers are never removed.
This fits a pattern AWS has been building all month. The same identity-for-agents push produced the workforce role assignment changes in our report on AWS Account Access Manager, and the longer-running agent workloads enabled by Lambda’s new 30-minute timeout are precisely the ones that should not run on one broad, long-lived credential set. GetScopedCredentials is the missing runtime piece: roles define what a workload may do in general; scoped credentials define what this one task, right now, may do.
How It Differs From AssumeRole Plus Session Policies
AWS already had a way to hand out weaker credentials: assume a role again with a session policy. GetScopedCredentials exists because that mechanism has two structural limits. Re-assuming with a session policy replaces the previous policies — restrictions do not accumulate, so a delegation chain can widen back up to the latest policy’s ceiling. And role chaining caps the session at one hour, awkward for long-running agent tasks.
| AssumeRole + session policy | GetScopedCredentials | |
|---|---|---|
| Who can call | IAM user, or a role with temporary credentials | Temporary credentials only (role or federated sessions; IAM users must call GetSessionToken first) |
| Earlier restrictions | Replaced on each re-assume | Kept — each call adds a layer that intersects with all prior layers (max 3 policy layers) |
| Lifetime | 15-minute minimum; 1-hour cap when role chaining | 1-second minimum; up to the caller’s remaining session time, no chaining cap |
| Identity | New session under the assumed role | Same identity — ARN, session name, tags and source identity preserved |
| MFA | Supported | Not supported |
| Endpoint | Global or regional STS | Regional STS endpoint only — the global endpoint does not support it |
Read the table as a division of labor. AssumeRole is still how you cross identity boundaries — a different account, a different role, MFA-gated access. GetScopedCredentials narrows within one identity, at runtime, per task, without provisioning anything. If your design creates a new IAM role for every agent, tenant or pipeline stage purely to get narrower permissions, this API is aimed at you; if your roles are already tight and nothing delegates, it changes little.
The Limits That Matter in Production
Launch limits are modest and worth knowing before you design around the API. One inline scope-down policy per call, capped at 2,048 characters — enough for a focused allow-list, so write scope-down policies as tight maximums, not copies of your role policies. At most three policy layers per session; a fourth policy-bearing call is denied, bounding how deep a delegation tree can go. And a dedicated quota of 200 requests per second per account per Region — generous for per-task minting, a real ceiling if you planned to mint per API call at fleet scale.
Two operational constraints will bite the unwary. The API requires a regional STS endpoint; calls to the global endpoint fail. And it accepts temporary credentials only — long-lived IAM user keys must first obtain a session token. Neither is hard to fix, but both turn a pilot into a debugging session if discovered late.
Compatibility is the third caveat. Not every service accepts scoped credentials yet: Amazon MemoryDB and AWS Quick are named as incompatible, and Amazon Neptune Database before 1.2.0.0 and some Amazon OpenSearch Service versions reject them too. Test each downstream service in a sandbox first — a credential that works against S3 may fail against your search cluster.
The Sharp Edges
Three behaviors deserve a hard look, because each cuts against an assumption teams bring from role-based designs.
There is no per-sub-agent revocation. Scoped credentials share the parent session’s token issue time and live under its umbrella. If one sub-agent’s credentials leak, you cannot revoke just that copy — revoking means invalidating the parent session, killing every sibling with it. Short lifetimes are therefore the primary blast-radius control: mint for minutes, not hours, and treat the sts:DurationSeconds SCP cap as mandatory.
CloudTrail attribution points at the parent. Because identity is preserved, logs show the parent session, not which sub-agent acted. Each minting call is recorded — including the policy and an optional ScopedSessionDescription — but reconstructing “which sub-agent did this” means correlating those events with your own application logs. If compliance needs per-agent attribution in CloudTrail itself, distinct roles still win.
AssumeRole is an escape hatch you must close yourself. A sub-agent can still call sts:AssumeRole if its scope-down policy permits it, stepping into any role the parent could assume — potentially wider than intended. Scope-down policies for agents should explicitly exclude sts:AssumeRole (and sts:GetScopedCredentials itself, unless recursive narrowing is intended). The intersection rule only stops policies asking for more than the parent has; it does not stop a policy passing through a dangerous permission the parent legitimately holds.
None of these are reasons to avoid the API — they are reasons to adopt it as a per-task credential factory with short lifetimes, not as a substitute for role design.
Who Should Pilot It — and Who Can Wait
Pilot it now if you run agent orchestrators or multi-agent systems where sub-agents and tools today share one credential set — the alternative, a role per agent, does not scale to dynamic fleets. CI/CD pipelines are the second strong fit: a pipeline role that can deploy anything can mint credentials that touch only the one stack this run is deploying. Multi-tenant SaaS workers are the third: per-tenant scoping at runtime without per-tenant roles.
Wait if your workloads are single-purpose services with already-tight roles and no delegation, your stack depends on the incompatible services above, or your audit requirements demand per-agent identity in CloudTrail itself. Whatever you run, do the prep first: regional STS endpoints, sts:GetScopedCredentials granted only to orchestrating roles, and an SCP lifetime cap before the first production mint.
With re:Invent opening November 30, expect this API in the week’s agent-infrastructure story — our re:Invent 2026 keynote preview flags the CEO and Technical Innovations keynotes as where those launches land. A pilot before the keynote rush beats a scramble after it: the mechanics test in an afternoon, and every failure mode above is discoverable in a sandbox.
FAQ
What is AWS STS GetScopedCredentials?
A new Security Token Service API, announced November 19, 2026, that takes temporary credentials a workload already holds and returns a narrower copy: fewer permissions, a shorter lifetime, or both. The copy keeps the caller’s identity and can never exceed the caller’s permissions or remaining session time. Verified on AWS’s What’s New page on November 28, 2026.
How is it different from assuming a role with a session policy?
Two ways that matter. Session policies are replaced on each re-assume, while GetScopedCredentials adds each scope-down policy as a permanent layer that intersects with all earlier ones (up to three layers). And role chaining caps sessions at one hour, while scoped credentials can last from one second up to the parent session’s remaining time with no chaining cap.
What are the launch limits?
One inline scope-down policy of up to 2,048 characters per call; at most three policy layers per session; a quota of 200 requests per second per account per Region; temporary credentials only (IAM users need GetSessionToken first); and a regional STS endpoint is required — the global endpoint does not support the API.
Can I revoke one sub-agent’s scoped credentials?
No. Scoped credentials live under the parent session, so revoking them means invalidating the parent session and every sibling credential minted from it. The practical control is short lifetimes — AWS’s own example SCP caps scoped sessions at 900 seconds via the sts:DurationSeconds condition key.
Which AWS services do not accept scoped credentials?
Amazon MemoryDB and AWS Quick are named as incompatible, and Amazon Neptune Database before version 1.2.0.0 and some Amazon OpenSearch Service versions reject them too. Test each downstream service with scoped credentials before production use.
Where is GetScopedCredentials available?
In all AWS commercial Regions, the AWS GovCloud (US) Regions, the AWS European Sovereign Cloud (Germany) Regions and the China Regions, per AWS’s announcement. Access is controlled with IAM policies, and every call is logged to AWS CloudTrail.
The Bottom Line
GetScopedCredentials is a small API with an outsized effect. It turns least-privilege from a provisioning-time decision — a role per agent, per tenant, per pipeline stage — into a runtime decision made per task, with restrictions that only ever narrow and lifetimes that can shrink to seconds. For agent fleets, CI/CD and multi-tenant workers, that is a genuine architectural upgrade, available today in every AWS partition that matters.
Adopt it with eyes open: cap lifetimes with an SCP, keep sts:AssumeRole out of agent scope-down policies, test the incompatible services first, and do not mistake preserved identity for per-agent attribution. Do those four things and scoped credentials are the safest default for any AWS process that hands work to something else. Skip them, and you have built a faster way to mint credentials you cannot selectively revoke.
Sources: AWS What’s New, “AWS STS announces GetScopedCredentials to scope down permissions at runtime” (aws.amazon.com, November 19, 2026) — announcement, availability and CloudTrail logging, checked November 28, 2026; AWS Security Blog, “Scope down permissions of existing sessions using AWS STS GetScopedCredentials” (aws.amazon.com, November 2026) — call sources, intersection rule and 2,048-character policy limit; AWS IAM User Guide, “Permissions for GetScopedCredentials” (docs.aws.amazon.com) — identity preservation, layering vs. session-policy replacement, chaining cap and sts:DurationSeconds key; AWS Builder Center deep-dives (builder.aws.com, November 25 and 27, 2026) — launch limits, incompatible services and revocation behavior. No prices are quoted; AWS’s announcement lists no new per-call charge.



Leave a Reply