Marking rabbitmq password config property as secret
Set `secret=True` so that its value will not be printed in logs to avoid some security problems [1]. [1] https://github.com/openstack/oslo.config/blob/master/oslo_config/cfg.py#L767 Change-Id: I9f41f334e0f32ee31c40c27c977ed801a68830e7
This commit is contained in:
parent
1e60635123
commit
2c7131337f
|
@ -45,7 +45,7 @@ rabbit_opts = [
|
||||||
cfg.StrOpt('login', default='guest',
|
cfg.StrOpt('login', default='guest',
|
||||||
help='The RabbitMQ login.'),
|
help='The RabbitMQ login.'),
|
||||||
|
|
||||||
cfg.StrOpt('password', default='guest',
|
cfg.StrOpt('password', default='guest', secret=True,
|
||||||
help='The RabbitMQ password.'),
|
help='The RabbitMQ password.'),
|
||||||
|
|
||||||
cfg.StrOpt('virtual_host', default='/',
|
cfg.StrOpt('virtual_host', default='/',
|
||||||
|
|
Loading…
Reference in New Issue