Skip to content

Commit

Permalink
fix: hide private key from the logs for gce driver
Browse files Browse the repository at this point in the history
When instance is waited, loop contain all server data, including
metadata, which contains ssh private key.

This key is ephimerial (get removed when Molecule finished), but,
nevertheless, is a private key, which give access to some server,
printed in the plain text.
  • Loading branch information
amarao committed Feb 20, 2025
1 parent 980db38 commit 92496a1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/gce/scenarios/linux/tasks/create_linux_instance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,6 @@
search_regex: SSH
delay: 10
loop: "{{ server.results }}"
loop_control:
label: "{{ item.name }}"

0 comments on commit 92496a1

Please sign in to comment.