Change password and key for AWS

This commit is contained in:
YuCheng Hu 2020-04-16 14:00:51 -04:00
parent 1badf86b17
commit 153871f9d5
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ public class AwsTasklet implements Tasklet {
public RepeatStatus execute(StepContribution contribution, ChunkContext chunkContext) throws Exception { public RepeatStatus execute(StepContribution contribution, ChunkContext chunkContext) throws Exception {
logger.info("Download Listing Photo from AWS Bucket: com.ossez.real.estate"); 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 = final AmazonS3 s3 =
AmazonS3ClientBuilder.standard().withCredentials(new AWSStaticCredentialsProvider(awsCreds)).withRegion(Regions.US_EAST_1).build(); AmazonS3ClientBuilder.standard().withCredentials(new AWSStaticCredentialsProvider(awsCreds)).withRegion(Regions.US_EAST_1).build();