1回答
- 新しい順
- 投票が多い順
- コメントが多い順
0
Hi,
Have a look at the Java default credentials chain to see all possible ways to supply credentials to the AWS Java SDK: https://docs.aws.amazon.com/sdk-for-java/latest/developer-guide/credentials-chain.html
I personally use the env variables AWS_ACCESS_KEY_ID
and AWS_SECRET_ACCESS_KEY
to avoid storing my credentials in my source code, which is a bad practice.
Best,
Didier