[FEAT]: Add support for AWS Credentials profile when connecting with Bedrock to avoid frequently updating temporary credentials
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
+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.
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.
+1 to this feature - blocks me from using anything-llm currently. @heiwais25 did you get any feedback from team?
Close by #3986