Generic Key Manager interface for OpenStack
Go to file
melanie witt 4925356be6 Raise ManagedObjectNotFoundError in MockKeyManager
Currently the MockKeyManager raises KeyError when a key is not found
for a get() or delete() but a real key manager raises
ManagedObjectNotFoundError in the case of not found [1][2].

This updates the MockKeyManager to raise the same exception as a real
key manager so that projects using it in tests will be able to test
their handling of "not found" scenarios properly.

[1] a662b30764/castellan/key_manager/barbican_key_manager.py (L617)
[2] a662b30764/castellan/key_manager/barbican_key_manager.py (L644)

Change-Id: I3184a229f6690854dda1edc12e74bb483b47a057
2024-02-26 08:34:28 +00:00
castellan Raise ManagedObjectNotFoundError in MockKeyManager 2024-02-26 08:34:28 +00:00
doc Add secret consumers documentation and release note 2023-02-20 13:20:55 +01:00
etc/castellan refactoring castellan configuration 2015-08-12 12:03:36 -04:00
playbooks/devstack Use Zuul v3 fetch-subunit-output 2018-01-16 07:20:24 +00:00
releasenotes reno: Update master for unmaintained/yoga 2024-02-06 14:27:03 +00:00
tools Bump vault version 2020-06-26 13:51:12 +02:00
.coveragerc remove obsolete oslo incubator code 2016-11-01 14:16:50 +00:00
.gitignore Fix gitignore pattern for vault related files 2021-09-20 22:27:43 +03:00
.gitreview OpenDev Migration Patch 2019-04-19 19:32:42 +00:00
.mailmap Initial Cookiecutter Commit. 2014-11-20 15:39:45 -06:00
.pre-commit-config.yaml Bump hacking 2024-02-02 01:50:46 +09:00
.stestr.conf Switch to stestr 2018-07-11 08:56:06 +07:00
.zuul.yaml Moves supported python runtimes from version 3.8 to 3.10 2023-04-10 14:47:00 +00:00
CONTRIBUTING.rst Moving IRC network reference to OFTC 2021-07-07 19:33:38 -05:00
HACKING.rst Update the doc URL in the documents 2017-07-11 13:38:04 +00:00
LICENSE Initial Cookiecutter Commit. 2014-11-20 15:39:45 -06:00
README.rst Add Wiki links to readme 2019-12-18 15:05:16 +00:00
bindep.txt Add missing font for PDF doc generation 2021-06-04 13:35:35 +02:00
requirements.txt Bump hacking 2024-02-02 01:50:46 +09:00
setup.cfg Update python classifier in setup.cfg 2024-01-11 15:36:55 -08:00
setup.py Some Cleanups 2020-06-11 12:26:35 +02:00
test-requirements.txt Bump hacking 2024-02-02 01:50:46 +09:00
tox.ini tox: Drop envdir 2024-02-02 23:43:25 +09:00

README.rst

Castellan

Generic Key Manager interface for OpenStack.

Team and repository tags

image