1 Answer
- Newest
- Most votes
- Most comments
0
Hi,
Thank you for contacting us. Please note that this error message can appear if the expected credentials are not used appropriately. As an example, if your intention is to use temporary credentials, but you have configured your system to use only the access key and secret access key, without the session token value.
Please feel free to refer to the following documentation to identify how you may pass temporary credentials for use with AWS Java SDK:
- Provide temporary credentials to the AWS SDK for Java - https://docs.aws.amazon.com/sdk-for-java/v1/developer-guide/credentials.html
The documentation contains details for specifying a credential provider or provider chain.
Feel free to reach back with any questions!
Relevant content
- asked 2 years ago
- asked 2 years ago
- Accepted Answerasked 4 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 months ago
- AWS OFFICIALUpdated 3 months ago
- AWS OFFICIALUpdated 2 months ago