List auth plugin parameters for [keystone] section

This change ensures parameters of auth plugins are included in
the config file generated by oslo-config-generator, so that users can
more easily understand the parameter they need to set.

Following the existing implementation for the other services like
neutron, the only password plugins are covered.

Change-Id: Ifbc45baf7a52fcf0ce564b55c556ca56ca9e0ee7
This commit is contained in:
Takashi Kajinami 2022-01-13 01:30:43 +09:00
parent 8c714c76ae
commit 8d02119475
1 changed files with 4 additions and 0 deletions

View File

@ -35,6 +35,10 @@ def list_opts():
return {
keystone_group: (
ks_loading.get_session_conf_options() +
ks_loading.get_auth_common_conf_options() +
ks_loading.get_auth_plugin_conf_options('password') +
ks_loading.get_auth_plugin_conf_options('v2password') +
ks_loading.get_auth_plugin_conf_options('v3password') +
confutils.get_ksa_adapter_opts(DEFAULT_SERVICE_TYPE)
)
}