Use the AWS java client to retrieve credentials from the default provider chain.
This results in the following provider chain:
- use credentials provided from URI parameters
- use credentials set via the environment
- use credentials set via system properties
- use default credentials set via the credentials file
- use credentials provided via the Amazon EC2 Container Service
- use credential defined via system configuration in akka.stream.alpakka.s3
I'm wondering if we should say that we first check the uri parameters and then follow the default provider chain as documented here.
Is providing the credentials in the URI save?