Mark password config options with secret

Config object supports masking values when writing out if the secret
flag is set on the option definition.  This change flags all cinder
options containing a password.

Change-Id: Ia0b203417774797c1fe1eaf2946453c9b2509b98
This commit is contained in:
Michael J Fork
2013-02-04 14:51:29 +00:00
parent 534eb08e78
commit f583551ea6
6 changed files with 12 additions and 6 deletions

View File

@@ -63,7 +63,8 @@ hp3par_opts = [
help="3PAR Super user username"),
cfg.StrOpt('hp3par_password',
default='',
help="3PAR Super user password"),
help="3PAR Super user password",
secret=True),
cfg.StrOpt('hp3par_domain',
default="OpenStack",
help="The 3par domain name to use"),