Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

imdsv2 failing for kube2iam deployed on azure aks to assume aws iam role. #353

Open
iamamitgera opened this issue Nov 2, 2022 · 0 comments

Comments

@iamamitgera
Copy link

Deployed Kube2iam on Azure to assume aws iam role while its working fine for imdsv1 call but only failing for imdsv2 calls.

cmd:
curl -isS -X PUT http://169.254.169.254/latest/api/t"X-aws-ec2-metadata-token-ttl-seconds: 21600"
output:
HTTP/1.1 400 Bad Request
Content-Length: 322
Content-Type: text/xml; charset=utf-8
Date: Wed, 02 Nov 2022 18:39:15 GMT
Server: Microsoft-IIS/10.0

InvalidHttpVerb The HTTP verb specified was not recognized by the server.
'PUT' is not a supported verb.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant