Current Series Release Notes¶
22.0.0-39¶
New Features¶
Barbican now has a new microversion 1.2 with a behaviour change when deleting secrets. If a secret has consumers registered it cannot be deleted in this microversion until the consumers are removed.
Use the
forcequery parameter with a truthy value to force the deletion.
Barbican now supports generation of Guru Meditation Reports using oslo.reports libary.
The following options have been added to the
vault_pluginsection.kv_pathkv_version
Upgrade Notes¶
Python 3.9 and 3.10 support has been dropped. The minimum version of Python now supported is Python 3.11.
The
enforce_scopeandenforce_new_defaultsoptions in the[oslo_policy]section ofbarbican.confnow default toTrue(as set byoslo.policy). The previous barbican-level overrides that forced these options toFalsehave been removed.Operators using the legacy RBAC roles (
admin,creator,observer,audit) must migrate to the new SRBAC roles:admin— project-scoped administrative operationsmember— general read/write access within a projectreader— read-only access within a project
To temporarily opt out and continue using the legacy policy defaults, set the following in
barbican.conf:[oslo_policy] enforce_scope = False enforce_new_defaults = False
Note that the legacy policy defaults are deprecated and will be removed in a future release.
The
barbican-wsgi-apiWSGI script has been removed. Deployment tooling should instead reference the Python module paths for this services,barbican.wsgi.api, if their chosen WSGI server supports this (gunicorn, uWSGI) or implement a.wsgiscript themselves if not (mod_wsgi).
The
[DEFAULT] host_hrefoption now defaults to None, which makes barbican-api to detect the base url according to the WSGI environments.
Deprecation Notes¶
The
[vault_plugin] use_ssloption has been deprecated, because it has had no effect.
Using an empty string for the
[DEFAULT] host_hrefoption is deprecated. Unset the option instead.
Security Issues¶
Barbican now enforces Secure RBAC (SRBAC) by default. Tokens must be project-scoped and carry the appropriate new roles (
reader,member, oradmin) to access Key Manager resources. System-scoped and domain-scoped tokens are rejected for all project-scoped API operations.
Bug Fixes¶
Fixed a bug where
SecretACLsControllerandContainerACLsControlleroverrodeACLMixin.get_acl_tuple(), returning incomplete target data that was missing ACL fields such asread_project_access. This caused thesecret_is_not_privatepolicy rule to always evaluate to False, resulting in HTTP 403 for project members who are not the secret owner whenenforce_new_defaultsis enabled. See bug 2069378.