Closed meticoeus closed 6 years ago
We typically avoid environment variables and system properties so place a safe fallback that does not use those. Did you have a suggested difference, send a PR and I'll gladly look at it.
I have the same problem, can we use DefaultAWSCredentialsProviderChain() instead of the ProfileCredentialsProvider() method in the fallback? It is more secure than using accesskeys or aws configuration files in ec2. Please :)
Released in BETA-02
Why is ProfileCredentialsProvider the fallback instead of DefaultAWSCredentialsProviderChain, which will reference the profile location as part of the chain?
DefaultAWSCredentialsProviderChain also includes InstanceProfileCredentialsProvider for easier configuration when deploying to EC2.