1 Resposta
- Mais recentes
- Mais votos
- Mais comentários
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
Conteúdo relevante
- AWS OFICIALAtualizada há 2 anos