Updates aws credential variables in upload task

Original commit: elastic/x-pack-elasticsearch@4fc9f02392
This commit is contained in:
Colin Goodheart-Smithe 2016-12-08 14:58:00 +00:00
parent d18daf0b3d
commit 581b1be217
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ class UploadS3Task extends DefaultTask {
@TaskAction @TaskAction
public void uploadToS3() { public void uploadToS3() {
AWSCredentials creds = new BasicAWSCredentials(project.awsAccessKey, project.awsSecretKey) AWSCredentials creds = new BasicAWSCredentials(project.prelertAwsAccessKey, project.prelertAwsSecretKey)
ClientConfiguration clientConfiguration = new ClientConfiguration(); ClientConfiguration clientConfiguration = new ClientConfiguration();
// the response metadata cache is only there for diagnostics purposes, // the response metadata cache is only there for diagnostics purposes,