Going through AWS documentation (not sure how to test it) I'm not 100% clear how the interaction between EC2 and STS works in relation to security credentials being stored in the Instance Metadata. The specific question is whether the regional STS endpoint is used once it is enabled (details about default and manual enablement would also be great) or, on the other hand, it uses the global sts.amazonaws.com STS endpoint. How about other AWS services using STS for temporary credentials? Do they also use regional STS endpoints automatically once they are enabled?
Thanks a lot!
Unable to get into internal AWS specifics (IMDBv2-STS) and not getting the proper documentation.