Skip to content

Invoking an Agent -- User Based IAM Execution Role Scoping

0

If my understanding is correct, you can associate which user is allowed to invoke which agent by leveraging Cognito user pools.

However, the IAM execution role is attached directly to a specific version of an agent. Is there an existing way or any plan to implement user-based IAM execution role scoping?

asked a year ago347 views

1 Answer
0
Accepted Answer

At present, Amazon Bedrock Agents do not support user-based IAM execution role scoping. The execution role is bound to the agent (and its version) itself, not to the individual user invoking it. You can control who is allowed to invoke an agent using identity-based IAM policies or Amazon Cognito user pools, but once invoked, the agent always runs under its configured execution role. There is no feature today that dynamically maps different users to different execution roles at runtime:

https://aws.github.io/bedrock-agentcore-starter-toolkit/user-guide/runtime/permissions.html

https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/runtime-permissions.html

EXPERT

answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.