This was added in the upstream AWS library: aws/aws-sdk-ruby#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.