commit 422009afdfea90e9351632514adda8dbb1218607
Author: Matt Riedemann <email address hidden>
Date: Wed Oct 5 21:17:39 2016 -0400
Mask passwords in debug logs for auth_config_hook
The auth config hook can have credentials in it so
we have to mask the config before logging it. To
avoid doing the work of masking the password if we
aren't going to log it, there is a conditional put
around the actual debug statement.
Conflicts: osc_lib/cli/client_config.py
NOTE(mriedem): The conflict was due to the imports.
Change-Id: I8e626672ec94fc837610216bccb4354dbdedca17
Closes-Bug: #1630822
(cherry picked from commit 0a82bd7294ad3148df048d73bfa3f04c7ddca4f2)
Reviewed: https:/ /review. openstack. org/383432 /git.openstack. org/cgit/ openstack/ osc-lib/ commit/ ?id=422009afdfe a90e9351632514a dda8dbb1218607
Committed: https:/
Submitter: Jenkins
Branch: stable/newton
commit 422009afdfea90e 9351632514adda8 dbb1218607
Author: Matt Riedemann <email address hidden>
Date: Wed Oct 5 21:17:39 2016 -0400
Mask passwords in debug logs for auth_config_hook
The auth config hook can have credentials in it so
we have to mask the config before logging it. To
avoid doing the work of masking the password if we
aren't going to log it, there is a conditional put
around the actual debug statement.
Conflicts:
osc_ lib/cli/ client_ config. py
NOTE(mriedem): The conflict was due to the imports.
Change-Id: I8e626672ec94fc 837610216bccb43 54dbdedca17 8df048d73bfa3f0 4c7ddca4f2)
Closes-Bug: #1630822
(cherry picked from commit 0a82bd7294ad314