diff options
author | Chad Smith <chad.smith@canonical.com> | 2020-03-03 15:23:33 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-03 15:23:33 -0700 |
commit | fa1abfec27050a4fb71cad950a17e42f9b43b478 (patch) | |
tree | 91b4c91352545bde5a1890c671876e06632dffdf /cloudinit/distros | |
parent | 67c8e53cc3fe007bb40d6e9c10549ca8200a9cd7 (diff) | |
download | vyos-cloud-init-fa1abfec27050a4fb71cad950a17e42f9b43b478.tar.gz vyos-cloud-init-fa1abfec27050a4fb71cad950a17e42f9b43b478.zip |
ec2: only redact token request headers in logs, avoid altering request (#230)
Our header redact logic was redacting both logged request headers and
the actual source request. This results in DataSourceEc2 sending the
invalid header "X-aws-ec2-metadata-token-ttl-seconds: REDACTED" which
gets an HTTP status response of 400.
Cloud-init retries this failed token request for 2 minutes before
falling back to IMDSv1.
LP: #1865882
Diffstat (limited to 'cloudinit/distros')
0 files changed, 0 insertions, 0 deletions