summaryrefslogtreecommitdiff
path: root/cloudinit/__init__.py
diff options
context:
space:
mode:
authorChad Smith <chad.smith@canonical.com>2020-03-03 15:23:33 -0700
committerGitHub <noreply@github.com>2020-03-03 15:23:33 -0700
commitfa1abfec27050a4fb71cad950a17e42f9b43b478 (patch)
tree91b4c91352545bde5a1890c671876e06632dffdf /cloudinit/__init__.py
parent67c8e53cc3fe007bb40d6e9c10549ca8200a9cd7 (diff)
downloadvyos-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/__init__.py')
0 files changed, 0 insertions, 0 deletions