Generic Key Manager interface for OpenStack
Go to file
Michael McCune d768fbc97d refactoring castellan configuration
This change adds a module for listing configuration options and setting
their defaults. It also changes the key manager base class to
incorporate a configuration during creation. By default, the key manager
will continue to use the global CONF object from the oslo.config
package.

For the most part, this change will be backwards compatible. The one
exception is the creation of sample configuration files. Previously,
importing castellan was sufficient to add these options to the global
configuration object. Now, these options will need to be applied by
using the castellan.options.list_opts function, or adding them through
other means, to create sample configuration files. Similar applies for
setting configuration before instantiating a key manager.

changes
* adding castellan.options with list_opts and set_defaults functions
* changing KeyManager abc to include a configuration option to __init__
* changing barbican and not_implemented key managers to accept
  configuration parameters
* adding tests for set_defaults function
* fixing barbican tests to accomodate new configuration parameter
* adding documentation about configuration usage
* adding castellan configs to oslo entry point in setup.cfg
* adding a genconfig target to tox for producing a sample castellan
  configuration file
* adding the sample configuration file to the git ignore
* renaming barbican option api_version to barbican_api_version

Change-Id: I86d6d7d49a893beaae6f311060ec593e0482d889
Implements: blueprint improved-configuration-options
2015-08-12 12:03:36 -04:00
castellan refactoring castellan configuration 2015-08-12 12:03:36 -04:00
doc/source refactoring castellan configuration 2015-08-12 12:03:36 -04:00
etc/castellan refactoring castellan configuration 2015-08-12 12:03:36 -04:00
.coveragerc Initial Cookiecutter Commit. 2014-11-20 15:39:45 -06:00
.gitignore refactoring castellan configuration 2015-08-12 12:03:36 -04:00
.gitreview Initial Cookiecutter Commit. 2014-11-20 15:39:45 -06:00
.mailmap Initial Cookiecutter Commit. 2014-11-20 15:39:45 -06:00
.testr.conf Move unit tests to unit test folder 2015-07-22 14:29:06 -04:00
babel.cfg Initial Cookiecutter Commit. 2014-11-20 15:39:45 -06:00
CONTRIBUTING.rst Workflow documentation is now in infra-manual 2014-12-05 03:30:35 +00:00
HACKING.rst Updating HACKING.rst 2015-02-27 16:28:13 -05:00
LICENSE Initial Cookiecutter Commit. 2014-11-20 15:39:45 -06:00
MANIFEST.in Initial Cookiecutter Commit. 2014-11-20 15:39:45 -06:00
openstack-common.conf Add openstack/common log and policy modules 2015-01-29 15:44:12 -05:00
README.rst Initial Cookiecutter Commit. 2014-11-20 15:39:45 -06:00
requirements.txt Migrate to oslo_context 2015-05-21 02:52:46 +03:00
setup.cfg refactoring castellan configuration 2015-08-12 12:03:36 -04:00
setup.py Initial Cookiecutter Commit. 2014-11-20 15:39:45 -06:00
test-requirements.txt Add Barbican key manager 2015-07-05 20:08:49 -04:00
tox.ini refactoring castellan configuration 2015-08-12 12:03:36 -04:00

castellan

Generic Key Manager interface for OpenStack

Features

  • TODO