diff options
author | Chad Smith <chad.smith@canonical.com> | 2020-03-04 15:19:43 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-04 15:19:43 -0700 |
commit | fa639704f67539d9c1d8668383f755cb0213fd4a (patch) | |
tree | 04dfb98f4a5132b5ba84f7d96836e584aa03f5a6 /tests/unittests | |
parent | 1d2dfc5d879dc905f440697c2b805c9485dda821 (diff) | |
download | vyos-cloud-init-fa639704f67539d9c1d8668383f755cb0213fd4a.tar.gz vyos-cloud-init-fa639704f67539d9c1d8668383f755cb0213fd4a.zip |
instance-data: write redacted cfg to instance-data.json (#233)
When cloud-init persisted instance metadata to instance-data.json
if failed to redact the sensitive value. Currently, the only sensitive
key 'security-credentials' is omitted as cloud-init does not fetch
this value from IMDS.
Fix this by properly redacting the content from the public
instance-metadata.json file while retaining the value in the root-only
instance-data-sensitive.json file.
LP: #1865947
Diffstat (limited to 'tests/unittests')
0 files changed, 0 insertions, 0 deletions