1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
0
Hi,
You probably want to do 2 things to understand your situation:
- use aws sts get-called identity from the shell and its equivalent for Java from STS SDK. See https://awscli.amazonaws.com/v2/documentation/api/latest/reference/sts/get-caller-identity.html this will give you under which identities of your 2 commands (Java vs shell) run. They are probably different
- Then, you should analyze the default credentials provider chain of both again to see where those identities come from. That shall explain you the differences that you see. See for the credentials chain: https://docs.aws.amazon.com/sdk-for-java/latest/developer-guide/credentials-chain.html
Best,
Didier
Contenus pertinents
- demandé il y a un an
- demandé il y a 7 mois
- demandé il y a un an
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a 9 mois