Please refer to Amazon's documentation on how to obtain the needed credentials.
You can pass your credentials multiple ways, use one of them. The order of searching for credentials is:
- Parameters passed from code
- Environment variables
- Config File
env_variables config_file from_code