Get the oslo_config options common for all auth plugins.
These may be useful without being registered for config file generation or to manipulate the options before registering them yourself.
The name of the plugin to load.
The config file section to load options from.
A list of oslo_config options.
Get the oslo_config options for a specific plugin.
This will be the list of config options that is registered and loaded by the specified plugin.
plugin (str or keystoneauth1._loading.BaseLoader) – The name of the plugin loader or a plugin loader object
A list of oslo_config options.
Load a plugin from an oslo_config CONF object.
Each plugin will register their own required options and so there is no standard list and the plugin should be consulted.
The base options should have been registered with register_conf_options before this function is called.
conf (oslo_config.cfg.ConfigOpts) – A conf object.
group (str) – The group name that options should be read from.
An authentication Plugin or None if a name is not provided
keystoneauth1.exceptions.auth_plugins.NoMatchingPlugin – if a plugin cannot be created.
Register the oslo_config options that are needed for a plugin.
This only registers the basic options shared by all plugins. Options that are specific to a plugin are loaded just before they are read.
The defined options are:
- auth_type: the name of the auth plugin that will be used for
authentication.
- auth_section: the group from which further auth plugin options should be
taken. If section is not provided then the auth plugin options will be taken from the same group as provided in the parameters.
conf (oslo_config.cfg.ConfigOpts) – config object to register with.
group (string) – The ini group to register options in.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.