Mark sensitive cfg options with secure flag
* Marks sensitive cfg options with the secure attribute which prevents them from being logged in the clear fixes bug#1221902 Change-Id: I86887e58f3fc11cdbbe95d90da9458143c70ec67
This commit is contained in:
parent
2485028c26
commit
f1661b7791
@ -29,7 +29,8 @@ path_opts = [
|
||||
common_opts = [
|
||||
cfg.StrOpt('sql_connection',
|
||||
default='sqlite:///trove_test.sqlite',
|
||||
help='SQL Connection'),
|
||||
help='SQL Connection',
|
||||
secret=True),
|
||||
cfg.IntOpt('sql_idle_timeout', default=3600),
|
||||
cfg.BoolOpt('sql_query_log', default=False),
|
||||
cfg.IntOpt('bind_port', default=8779),
|
||||
@ -68,8 +69,8 @@ common_opts = [
|
||||
cfg.IntOpt('dns_account_id', default=0),
|
||||
cfg.StrOpt('dns_auth_url', default=""),
|
||||
cfg.StrOpt('dns_domain_name', default=""),
|
||||
cfg.StrOpt('dns_username', default=""),
|
||||
cfg.StrOpt('dns_passkey', default=""),
|
||||
cfg.StrOpt('dns_username', default="", secret=True),
|
||||
cfg.StrOpt('dns_passkey', default="", secret=True),
|
||||
cfg.StrOpt('dns_management_base_url', default=""),
|
||||
cfg.IntOpt('dns_ttl', default=300),
|
||||
cfg.IntOpt('dns_domain_id', default=1),
|
||||
@ -184,11 +185,11 @@ common_opts = [
|
||||
cfg.StrOpt('notification_service_id',
|
||||
help='Unique ID to tag notification events'),
|
||||
cfg.StrOpt('nova_proxy_admin_user', default='',
|
||||
help="Admin username used to connect to Nova"),
|
||||
help="Admin username used to connect to Nova", secret=True),
|
||||
cfg.StrOpt('nova_proxy_admin_pass', default='',
|
||||
help="Admin password used to connect to Nova"),
|
||||
help="Admin password used to connect to Nova", secret=True),
|
||||
cfg.StrOpt('nova_proxy_admin_tenant_name', default='',
|
||||
help="Admin tenant used to connect to Nova"),
|
||||
help="Admin tenant used to connect to Nova", secret=True),
|
||||
cfg.StrOpt('network_label_regex', default='^private$'),
|
||||
cfg.StrOpt('cloudinit_location', default='/etc/trove/cloudinit',
|
||||
help="Path to folder with cloudinit scripts"),
|
||||
|
Loading…
Reference in New Issue
Block a user