dspy icon indicating copy to clipboard operation
dspy copied to clipboard

Support for AWS Credentials Input in dspy.Bedrock

Open joanacmesquitaf opened this issue 6 months ago • 1 comments

I would like to request support for providing AWS credentials directly as input parameters in the dspy.Bedrock function

Current Behavior:

Currently, the dspy.Bedrock function supports setting the AWS region and Profile but does not allow for AWS credentials (access key and secret access key) to be provided directly. The only method available is to use an AWS profile through the profile_name option, which assumes credentials are managed via the AWS credentials file.

Desired Behavior:

To enhance flexibility and use cases, I propose adding parameters to the dspy.Bedrock function that accept AWS credentials directly. This would allow users to specify:

aws_access_key_id aws_secret_access_key

Thank you

joanacmesquitaf avatar Aug 06 '24 09:08 joanacmesquitaf