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