Details
-
Bug
-
Status: Closed
-
Normal
-
Resolution: Done
-
None
-
None
-
5
-
Bug Fix
Description
The device.conf format may only contain section headers (containing the certname as the section title) and type, url, and debug configuration entries (as per https://github.com/puppetlabs/puppet/blob/3.7.4/lib/puppet/util/network_device/config.rb#L62) which means that authentication credentials are and have always been added to the url setting.
When running the puppet device command with verbose as puppet device -v the output prints Info: starting applying configuration to <device> at https://<username>:<password>@<address> because of https://github.com/puppetlabs/puppet/blob/3.7.4/lib/puppet/application/device.rb#L172
Thus the output shows the full login URL from the device.conf including the password in plain text with no way to suppress this output.
Attachments
Issue Links
- clones
-
MODULES-1822 Puppet device displays credentials in plain text when run manually
-
- Resolved
-
- links to