diff options
author | Ryan Harper <ryan.harper@canonical.com> | 2020-02-19 15:01:09 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-19 16:01:09 -0500 |
commit | 87cd040ed8fe7195cbb357ed3bbf53cd2a81436c (patch) | |
tree | 9d528f71d9c44c809092a126f926df497f255b54 /cloudinit/sources/helpers/openstack.py | |
parent | 3e2f7356effc9e9cccc5ae945846279804eedc46 (diff) | |
download | vyos-cloud-init-87cd040ed8fe7195cbb357ed3bbf53cd2a81436c.tar.gz vyos-cloud-init-87cd040ed8fe7195cbb357ed3bbf53cd2a81436c.zip |
ec2: Do not log IMDSv2 token values, instead use REDACTED (#219)
Instead of logging the token values used log the headers and replace the actual
values with the string 'REDACTED'. This allows users to examine cloud-init.log
and see that the IMDSv2 token header is being used but avoids leaving the value
used in the log file itself.
LP: #1863943
Diffstat (limited to 'cloudinit/sources/helpers/openstack.py')
0 files changed, 0 insertions, 0 deletions