aws-sdk-go-v2
aws-sdk-go-v2 copied to clipboard
[do not merge] feat: support account id in imds / new profile configs
DO NOT MERGE: the new -extended metadata endpoint is not yet available.
- Support the new
*-extended/credentials endpoint for IMDS, with automatic fallback to the old one - Add support for
AWS_EC2_INSTANCE_PROFILE_NAMEand friends - Retrieve account ID in IMDS calls (on both the new and legacy endpoint per SEP).
- Add implicit profile caching. This has actually been specified in older IMDS credential SEPs, but we never did it for some reason.
- Add new
disable_ec2_metadatashared config setting.