libopenstorage / secrets

Openstorage support for Key Management Systems
Apache License 2.0
16 stars 16 forks source link

PWX-17627: Adding IMDSv2 support #56

Closed nrevanna closed 3 years ago

nrevanna commented 3 years ago
  Adding IMDSv2 support. Removing custom metadata function in favor of
  aws api available in the sdk.
  More info: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-service.html

What this PR does / why we need it: IMDSv2 only nodes will not be able to respond to the previous metadata url. AWS SDK has the ability to try both v2 and v1.

Which issue(s) this PR fixes (optional) Closes #

Special notes for your reviewer: Testing: Ran px on a IMDSv2 only node.