canonical / ubuntu-pro-client

Ubuntu Pro Client for offerings from Canonical
https://canonical-ubuntu-pro-client.readthedocs-hosted.com/en/latest/
GNU General Public License v3.0
52 stars 69 forks source link

test: Fix credential leak on airgapped feature #3092

Closed dheyay closed 2 months ago

dheyay commented 2 months ago

This commit uses regex instead of the echo command to extract service tokens to prevent the leak into stdout

Why is this needed?

This PR solves all of our problems because...

Test Steps

Checklist

Does this PR require extra reviews?

github-actions[bot] commented 2 months ago

Jira: This PR is not related to a Jira item. (The PR title does not include a SC-#### reference)

GitHub Issues: No GitHub issues are fixed by this PR. (No commits have Fixes: #### references)

Launchpad Bugs: No Launchpad bugs are fixed by this PR. (No commits have LP: #### references)

Documentation: The changes in this PR do not require documentation changes.

👍 this comment to confirm that this is correct.