diff --git a/spring-boot-aws-integration-tests/src/test/java/de/rieckpil/blog/SimpleMessageListenerPre23IT.java b/spring-boot-aws-integration-tests/src/test/java/de/rieckpil/blog/SimpleMessageListenerPre23IT.java index ed172aaf..221d7588 100644 --- a/spring-boot-aws-integration-tests/src/test/java/de/rieckpil/blog/SimpleMessageListenerPre23IT.java +++ b/spring-boot-aws-integration-tests/src/test/java/de/rieckpil/blog/SimpleMessageListenerPre23IT.java @@ -56,7 +56,7 @@ static void overrideConfiguration(DynamicPropertyRegistry registry) { registry.add("spring.cloud.aws.credentials.secret-key", localStack::getSecretKey); System.setProperty("aws.region", "eu-central-1"); System.setProperty("aws.accessKeyId", "foo"); - System.setProperty("aws.secretKey", "bar"); + System.setProperty("aws.secretAccessKey", "bar"); } @TestConfiguration