anything-llm icon indicating copy to clipboard operation
anything-llm copied to clipboard

[FEAT]: Add support for AWS Credentials profile when connecting with Bedrock to avoid frequently updating temporary credentials

Open SHASHANKB opened this issue 1 year ago • 3 comments

What would you like to see?

Currently Bedrock connector only supports long term IAM User credentials and temporary session credentials. long term IAM User credentials are insecure because they don't rotate automatically. Temporary session credentials need to be update frequently (e.g. every 12 hours)

If you can add support for AWS Credentials profile when connecting with Bedrock, it'll remove the dependency to frequently update the credentials in the Bedrock connector. Since the AWS credentials profile can be setup with IAM assume Role, it doesn't have to depend on using non-secure static IAM User credentials

SHASHANKB avatar Dec 17 '24 17:12 SHASHANKB

+1 to this feature request. Supporting credentials profiles would make anythingllm much more convenient to use. As an reference, the continue dev plugin for vscode lets you configure bedrock with a region and profile.

varunvijamz avatar Dec 31 '24 18:12 varunvijamz

I also had the same ask while using with Bedrock. To resolve the issue, I just created a new pull request to add the profile support. Please let me know if you find anything I missed from PR.

heiwais25 avatar Jan 08 '25 05:01 heiwais25

+1 to this feature - blocks me from using anything-llm currently. @heiwais25 did you get any feedback from team?

Kornelos avatar Apr 09 '25 13:04 Kornelos

Close by #3986

timothycarambat avatar Jul 23 '25 18:07 timothycarambat