oslo.context/releasenotes
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
..
notes Add method for getting redacted copy of context 2023-09-08 12:11:44 -07:00
source Update master for stable/2023.1 2023-02-24 15:17:21 +00:00