This was added in the upstream AWS library: https://github.com/aws/aws-sdk-ruby/pull/2924 I think `credential_fetcher` would needed to be updated to avoid GET requests (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instancedata-data-retrieval.html) and only use PUT requests.