Open tamaraita opened 4 months ago
Thanks for raising. I think you are using wrong coordinates for the library. The coordinates for usage with Spring Boot 3 and Spring Cloud AWS 3.1.1 have changed.
The correct coordinates are (please also include the auto-configure for now as the starter is missing this dependency)
<dependency>
<groupId>org.zalando.awspring.cloud</groupId>
<artifactId>zalando-cloud-aws-autoconfigure</artifactId>
<version>3.1.1</version>
</dependency>
<dependency>
<groupId>org.zalando.awspring.cloud</groupId>
<artifactId>zalando-cloud-aws-starter-kms</artifactId>
<version>3.1.1</version>
</dependency>
In addition you may need the following dependencies for the automatic encryption
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-bootstrap</artifactId>
</dependency>
This issue is stale because it has been open for 90 days with no activity.
I'm using
`
On my AWS 3, SDK2 app. But when I run my app I get
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'kms' defined in class path resource [de/zalando/spring/cloud/config/aws/kms/KmsEncryptionConfiguration$KmsConfiguration.class]: Failed to instantiate [com.amazonaws.services.kms.AWSKMS]: Factory method 'kms' threw exception with message: com/amazonaws/ClientConfigurationFactory
And this is my dep tree [INFO] +- org.zalando:spring-cloud-config-aws-kms:jar:5.1.2:compile [INFO] | +- org.springframework:spring-context:jar:6.0.17:compile [INFO] | +- org.springframework.cloud:spring-cloud-context:jar:4.0.5:compile [INFO] | - com.amazonaws:aws-java-sdk-kms:jar:1.12.710:compile [INFO] | - com.amazonaws:jmespath-java:jar:1.12.710:compile