-
Notifications
You must be signed in to change notification settings - Fork 228
Closed
Labels
enhancementM-T: A feature request for new functionalityM-T: A feature request for new functionalitygood first issue
Milestone
Description
https://slack.dev/java-slack-sdk/guides/app-distribution
// The standard AWS env variables are expected
// export AWS_REGION=us-east-1
// export AWS_ACCESS_KEY_ID=AAAA*************
// export AWS_SECRET_ACCESS_KEY=4o7***********************
// Please be careful about the security policies on this bucket.
String awsS3BucketName = "YOUR_OWN_BUCKET_NAME_HERE";
InstallationService installationService = new AmazonS3InstallationService(awsS3BucketName);
I realize you utilize DefaultAWSCredentialsProviderChain.getInstance().getCredentials() to retrieve credentials from env. But it truly sucks (lacks flexibility)
You should provide a constructor that accepts these 3 parameters in constructor : awsAccessKey , awsSecretKey , region , and build AWS credential in the constructor.
Metadata
Metadata
Assignees
Labels
enhancementM-T: A feature request for new functionalityM-T: A feature request for new functionalitygood first issue