Curl-url-http-3a-2f-2f169.254.169.254-2flatest-2fapi-2ftoken __exclusive__ Jun 2026

Since then, AWS introduced IMDSv2 (which requires a PUT token first). However, many legacy applications still use IMDSv1, or they misconfigure IMDSv2.

First, request a token using PUT :

You must first get a token, usually by setting a time-to-live ( TTL ) header, which determines how long the token is valid. curl-url-http-3A-2F-2F169.254.169.254-2Flatest-2Fapi-2Ftoken