diff --git a/buildSrc/src/main/groovy/org/elastic/gradle/UploadS3Task.groovy b/buildSrc/src/main/groovy/org/elastic/gradle/UploadS3Task.groovy index ce1e10b185e..f334721247a 100644 --- a/buildSrc/src/main/groovy/org/elastic/gradle/UploadS3Task.groovy +++ b/buildSrc/src/main/groovy/org/elastic/gradle/UploadS3Task.groovy @@ -51,7 +51,7 @@ class UploadS3Task extends DefaultTask { @TaskAction public void uploadToS3() { - AWSCredentials creds = new BasicAWSCredentials(project.awsAccessKey, project.awsSecretKey) + AWSCredentials creds = new BasicAWSCredentials(project.prelertAwsAccessKey, project.prelertAwsSecretKey) ClientConfiguration clientConfiguration = new ClientConfiguration(); // the response metadata cache is only there for diagnostics purposes,