diff options
author | Michael J Fork <mjfork@us.ibm.com> | 2013-02-04 15:08:38 +0000 |
---|---|---|
committer | Michael J Fork <mjfork@us.ibm.com> | 2013-02-04 15:09:35 +0000 |
commit | 8feb2a43c1693fc1f64358dca4cfe77fa83db378 (patch) | |
tree | 67fad4240be0d019caccccc925235592fb81f820 /openstack/common/rpc/impl_kombu.py | |
parent | bd5d9f08ecc3c1fade6dce809ee9edef1c226e54 (diff) | |
download | oslo-8feb2a43c1693fc1f64358dca4cfe77fa83db378.tar.gz oslo-8feb2a43c1693fc1f64358dca4cfe77fa83db378.tar.xz oslo-8feb2a43c1693fc1f64358dca4cfe77fa83db378.zip |
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
oslo-incubator options containing a password.
Change-Id: I78451c4fdfdb3d6e28a7bd5f35d1c4c9a1b2be99
Diffstat (limited to 'openstack/common/rpc/impl_kombu.py')
-rw-r--r-- | openstack/common/rpc/impl_kombu.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/openstack/common/rpc/impl_kombu.py b/openstack/common/rpc/impl_kombu.py index f1d46c4..4f3cc7a 100644 --- a/openstack/common/rpc/impl_kombu.py +++ b/openstack/common/rpc/impl_kombu.py @@ -66,7 +66,8 @@ kombu_opts = [ help='the RabbitMQ userid'), cfg.StrOpt('rabbit_password', default='guest', - help='the RabbitMQ password'), + help='the RabbitMQ password', + secret=True), cfg.StrOpt('rabbit_virtual_host', default='/', help='the RabbitMQ virtual host'), |