oslo.context/releasenotes/notes
Jay Faulkner 059f9ba16e Add method for getting redacted copy of context
There are times, such as in oslo.messaging notifications, when we'd like
a context object to be stripped of any secrets. This adds a method to
RequestContext, redacted_copy(), which returns a copy of that context,
carrying over an allowlist of fields only, leaving secrets behind.

Related-bug: 2030976
Change-Id: Ie4a8eb784c505c41ec5fcd4cba091cc555146763
2023-09-08 12:11:44 -07:00
..
Fix-system-scope-from_dict-29615af90723ba4d.yaml Fix context from_dict() for system_scope 2021-08-12 20:14:34 +00:00
add_reno-3b4ae0789e9c45b4.yaml Add reno for releasenotes management 2016-05-20 17:58:52 +03:00
dont-leak-auth-token-fb7075316cf87b7c.yaml Ouput a placeholder instead of the auth_token 2017-11-07 13:08:11 +02:00
drop-python27-support-b421329839e69d41.yaml reword releasenote for py27 support dropping 2020-02-06 12:36:00 +01:00
redacted-copy-efd02c83c287451f.yaml Add method for getting redacted copy of context 2023-09-08 12:11:44 -07:00
remove_deprecated_args_tenant-77724de1422f46d9.yaml Remove the deprecated argument tenant from RequestContext 2021-10-29 09:16:31 +02:00