do not log imdsv2 token headers

Bug #1863943 reported by Ryan Harper on 2020-02-19
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cloud-init
Medium
Unassigned

Bug Description

Cloud-init currently logs all headers when processing URLs. On Ec2, this includes the IMDSv2 token negotiation and all IMDS interactions. The value of seeing the headers in the log is quite useful, especially for confirming whether cloud-init is using IMDSv2 or not; however the actual value of the token does not aide in this effort.

Reported by: https://github.com/ishug86

Ryan Harper (raharper) wrote :
Changed in cloud-init:
importance: Undecided → Medium
status: New → In Progress
Ryan Harper (raharper) wrote :
Changed in cloud-init:
status: In Progress → Fix Committed

This bug is believed to be fixed in cloud-init in version 20.1. If this is still a problem for you, please make a comment and set the state back to New

Thank you.

Changed in cloud-init:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers