Commit Graph

9 Commits

Author SHA1 Message Date
Pavlo Shchelokovskyy 1375d6c107 Fix gitignore pattern for vault related files
previous pattern ignored any file that started with 'vault_'.
While not affecting changes to the vault_key_manager.py file that was
already checked into the repository, this pattern effectively hides said
file from many modern search tools (like ack, ag or ripgrep)
that by default ignore files according to .gitignore patterns.

This patch changes this pattern to ignore 'vault_*' files and
directories only in the root of the repo.

Change-Id: Id2095d9a401154435c346916e10df777b70d28dc
2021-09-20 22:27:43 +03:00
Moises Guimaraes de Medeiros 6e03a68c14 Add Castellan Oslo Config Driver.
This driver is an oslo.config backend driver implemented with
Castellan. It extends oslo.config's capabilities by enabling it
to retrieve configuration values from a secret manager behind
Castellan.

Change-Id: Id7cf99bea5788e0a6309461a75eaa8d08d29641b
Signed-off-by: Moises Guimaraes de Medeiros <moguimar@redhat.com>
2019-01-09 23:17:17 +01:00
Vu Cong Tuan 22a5b8b1ec Switch to stestr
According to Openstack summit session [1],
stestr is maintained project to which all Openstack projects should migrate.
Let's switch to stestr as other projects have already moved to it.

[1] https://etherpad.openstack.org/p/YVR-python-pti

Change-Id: I644c28acb04451113849691cd64c209258cef7d7
2018-07-11 08:56:06 +07:00
Jeremy Liu 5d946f0855 Add releasenotes for castellan
Change-Id: I668815f3b353e15b72b88a62ea098fef66a94ae0
2017-09-05 13:40:42 +08:00
Jeremy Liu 568be4abb8 Update .gitignore
The `.eggs` directory is generated by command `python setup.py install`,
better put it into .gitignore.

Change-Id: I86150764ab9cf67f5af1d75655085de39a0345c2
2017-02-12 14:51:28 +00:00
Jeremy Liu cc5da0be77 Update .gitignore
update .gitignore to ignore files generated by Pycharm

Change-Id: I98148951ea883676a78718a34d88cfb6549eaaca
2016-10-15 21:27:51 +08:00
Jeremy Liu 5417947c34 Update .gitignore
update .gitignore to ignore cover folder

Change-Id: I212df833d8e8906c5feb2300326aee8359503897
2016-10-10 09:56:16 +08:00
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
Douglas Mendizábal 93eb3a9f16 Initial Cookiecutter Commit. 2014-11-20 15:39:45 -06:00