li-raz
li-raz

Reputation: 1696

AWS JAVA SDK V2 - how to work with metadata service

till now i am working with V1 of the SDK, how ever I need to support IMDSV2. although in the V1 code I see it support it, actually it isnt, as I still getting 401 and it seems that I need to query the token and pass it to the metadata utils. I wanted to see if in V2 it was fixed, but i dont see in their doc, how to interact with the metadata service

Upvotes: 1

Views: 1062

Answers (1)

Biju
Biju

Reputation: 978

spring cloud 1.12 resolved the issue for me. This version supports IMDSv2 and not the older ones.

Upvotes: 1

Related Questions