LORD OF CLAUDE
AI NewsMCP ServersClaude SkillsEventsGuides
Subscribe to NewsletterAdvertise with Us

AWS STS Launches GetScopedCredentials API to Limit AI Agent Access

AWS has introduced GetScopedCredentials, a new STS API that allows developers to narrow temporary credentials for AI agents and sub-agents.

By Jamie O'Brien · Reviewed by Lord of Claude Editorial Team
· 1 min read
f𝕏in✉
Illustration for the article: AWS STS Launches GetScopedCredentials API to Limit AI Agent Access

Amazon Web Services unveiled GetScopedCredentials, an AWS Security Token Service (STS) API that tightens permissions for existing temporary credentials (AWS Security Blog). It targets AI‑agent workloads where sub‑agents or individual tasks need fewer rights than the parent session.

Developers call GetScopedCredentials with a scope‑down policy, a shorter session duration, or both, using credentials from an AWS login, an EC2 instance profile, or a Lambda function. The API returns credentials that keep the caller’s IAM identity while sharply limiting access.

The credentials follow an intersection rule: granted rights equal the overlap between the session’s current effective permissions and the inline scope‑down policy, ensuring permissions can only be reduced. Requested durations also cannot exceed the remaining time on the calling session.

Because the API accepts already scoped‑down credentials, orchestrators can recursively invoke GetScopedCredentials, giving downstream sub‑agents even tighter access. This stops autonomous processes from exceeding their assigned task boundaries, even if they encounter errors or deceptive prompts.

AWS designed GetScopedCredentials as an open building block for AI‑agent frameworks, identity‑issuing microservices, CI/CD pipelines, and custom workflows. Developers can restrict agents to actions like read‑only access to a single S3 bucket or strip out high‑risk operations such as resource deletion.

Complementary open‑source tools like IAM Policy Autopilot serve as Model Context Protocol (MCP) servers and CLI utilities that generate baseline IAM policies from code (GitHub). IAM Policy Autopilot scans AWS SDK calls in Python, Go, TypeScript, JavaScript, Java, and Terraform plans to assemble identity‑based policies.

The release of GetScopedCredentials highlights a structural shift in how cloud infrastructure handles permissions for non-deterministic AI agents. Traditional role-based access control assumes static runtime boundaries, whereas agentic systems continuously generate dynamic sub-tasks. By enabling recursive credential downscoping, AWS provides a crucial architectural layer for multi-agent architectures where orchestrator nodes must safely delegate execution to specialized sub-agents without exposing parent privileges.

Spotted an error? See our corrections policy or email editorial@lordofclaude.com.

ABOUT THE AUTHOR
Jamie O'Brien, Senior Editor & Quality Director

Senior Editor and Quality Director at Lord of Claude. He leads the editorial review process, with expertise in technical review and fact-checking, AI developer tools, LLM systems and quality assurance.

0 Claps
Tap to clap

Discussion & Comments (0)

Join the conversation
🔒 Submitting this form adds your email to our subscriber list.

Related reading

Newsletter

New MCP servers, weekly.