Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
2.4.0
-
None
-
None
Description
Hello,
AssumeRole functionality cannot make POST request to regional sts endpoint.
I use STS api assumeRole() with stsProperties:
jclouds.endpoint -> https://sts.eu-central-1.amazonaws.com
jclouds.region.eu-central-1.endpoint -> https://sts.eu-central-1.amazonaws.com
Then when invoking the request I receive this error.
java.io.IOException: Server returned HTTP response code: 500 for URL: https://sts.eu-central-1.amazonaws.com/
It looks like that such request can be made only against global sts endpoint: https://sts.amazonaws.com/
but Amazon highly recommends using regional sts endpoints:
https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html
Best Regards,
Blago