Skip to content

Agentcore session isolation and secrets

0

Since agentcore provides strong session isolation, it is ok to send in a dynamic user dependent secret to the invocation api and use that in the tools. I understand the recommended way is to use oauth or api credentials. But I wanted to consider an interim solution before we implement oauth provider. Thanks.

1 Answer
0

Hello,

I understand that you would like to know if you can pass a user-specific secret to the Invocation API.

You can do this since Bedrock Runtime provides strong session isolation. However, the mapping of user → key/secret must be managed by customer as of now, as Bedrock does not handle this mapping natively. For a long-term solution, we recommend moving to OAuth or an identity provider.

Please make sure that no two users secrets are passed to the same runtime SessionId because then there is a chance of one user getting access to the other users secrets.

If you encounter any difficulties and discuss your use case in more detail, please reach out to AWS Support [1] with your detailed query, and we will be happy to assist you further.

—References—

[1] Creating support cases and case management: https://docs.aws.amazon.com/awssupport/latest/user/case-management.html#creating-a-support-case

AWS

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.

Relevant content