spring-ai
spring-ai copied to clipboard
(R) Add bedrock profile autoconfiguration support and replace deprecated
trafficstars
@tzolov Update autoconfiguration, meets the requirements of three connection methods: security key, profile, and IAM Role
DefaultCredentialsProvider.create() was deprecated, replace with DefaultCredentialsProvider.builder().build()
example configuration
spring:
ai:
bedrock:
aws:
profile:
# (require) profile name
name: my-profile-name
# (optional) if not declared, use ~/.aws/credentials
credentials-path: /develop/data/aws/credentials
# (optional) if not declared, use ~/.aws/config
configuration-path: /develop/data/aws/config
@ericbottard I've finished updating. Could you review it at your convenience?