Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
allow authenticating to AWS with the EC2 instance role
This changes the credentials provider used to fetch the AWS credentials from EnvironmentProvider (which just looked at environment variables) to DefaultCredentialsProvider, which looks at: 1. Environment variables 2. ~/.aws/credentials 3. EC2 instance roles The old behavior is preserved when the environment variable is present, but this will also allow using EC2 instance roles which are going to be implemented on the production server. A new FORCE_S3 environment variable was also added.
- Loading branch information