From 5696e6c33aa246ff620bd383f82281aafac40571 Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Sun, 3 Apr 2016 10:34:10 +0200 Subject: [PATCH] Do not leak passwords in case of error in cloudstack modules --- cloud/cloudstack/cs_account.py | 2 +- cloud/cloudstack/cs_user.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cloud/cloudstack/cs_account.py b/cloud/cloudstack/cs_account.py index 80ab6748bb0..0313006f894 100644 --- a/cloud/cloudstack/cs_account.py +++ b/cloud/cloudstack/cs_account.py @@ -354,7 +354,7 @@ def main(): first_name = dict(default=None), last_name = dict(default=None), username = dict(default=None), - password = dict(default=None), + password = dict(default=None, no_log=True), timezone = dict(default=None), poll_async = dict(type='bool', default=True), )) diff --git a/cloud/cloudstack/cs_user.py b/cloud/cloudstack/cs_user.py index a0be4634904..0b2a1fddc63 100644 --- a/cloud/cloudstack/cs_user.py +++ b/cloud/cloudstack/cs_user.py @@ -413,7 +413,7 @@ def main(): email = dict(default=None), first_name = dict(default=None), last_name = dict(default=None), - password = dict(default=None), + password = dict(default=None, no_log=True), timezone = dict(default=None), poll_async = dict(type='bool', default=True), ))