spring-ai
spring-ai copied to clipboard
How can I specify AWS profile from the configuration file? Bedrock client
trafficstars
With aws.sdk.kotlin:bedrockruntime I can setup the client like this:
val client = BedrockRuntimeClient {
region = "eu-central-1"
credentialsProvider = ProfileCredentialsProvider(profileName = "dev")
}
where profileName delegates to one of the profiles in ~/.aws/config, i.e. [profile dev]
It's it possible to do now with Spring AI? If not can we have the feature request?