From 153871f9d5c08897e7c5aa3321d965472a2d0fa4 Mon Sep 17 00:00:00 2001 From: YuCheng Hu Date: Thu, 16 Apr 2020 14:00:51 -0400 Subject: [PATCH] Change password and key for AWS --- .../com/ossez/covid19/service/batch/tasklet/AwsTasklet.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/covid-19-service/src/main/java/com/ossez/covid19/service/batch/tasklet/AwsTasklet.java b/covid-19-service/src/main/java/com/ossez/covid19/service/batch/tasklet/AwsTasklet.java index e46ec2e..2e1f96c 100644 --- a/covid-19-service/src/main/java/com/ossez/covid19/service/batch/tasklet/AwsTasklet.java +++ b/covid-19-service/src/main/java/com/ossez/covid19/service/batch/tasklet/AwsTasklet.java @@ -43,7 +43,7 @@ public class AwsTasklet implements Tasklet { public RepeatStatus execute(StepContribution contribution, ChunkContext chunkContext) throws Exception { logger.info("Download Listing Photo from AWS Bucket: com.ossez.real.estate"); - AWSCredentials awsCreds = new BasicAWSCredentials("AKIAIJDKPNI3PL7E6QXQ", "Jfaq2mGcogodLKJa7wae9dgd+M3bQ6g5XjkOt1ZV"); + AWSCredentials awsCreds = new BasicAWSCredentials("****", "****"); final AmazonS3 s3 = AmazonS3ClientBuilder.standard().withCredentials(new AWSStaticCredentialsProvider(awsCreds)).withRegion(Regions.US_EAST_1).build();