]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw: Replace deprecated Barbican payload endpoint with alternative
authorMarcel Lauhoff <marcel.lauhoff@clyso.com>
Fri, 8 Aug 2025 09:48:14 +0000 (11:48 +0200)
committerMarcel Lauhoff <marcel.lauhoff@clyso.com>
Tue, 12 Aug 2025 13:12:11 +0000 (15:12 +0200)
commite60d0317af80910d8639bcbf6fdee1dd47f6ef08
tree59d6cba55c74ffe2b971c3a7470b522e95d59cb1
parent07ab7ecbfd0530de9051150da4592c3698c104ed
rgw: Replace deprecated Barbican payload endpoint with alternative

`GET /v1/secrets/{uuid}` with Header `Accept:
application/octet-stream` has been deprecated in favor of `GET
/v1/secrets/{uuid}/payload` in OpenStack Barbican.

The old API is still functional, but generates a warning level log
message on Barbican for every access.

Deprecation commit from 2015:
https://github.com/openstack/barbican/commit/b4b64be6f259acf4d8677eadbc35d37fab3a6df0

Signed-off-by: Marcel Lauhoff <marcel.lauhoff@clyso.com>
On-behalf-of: SAP marcel.lauhoff@sap.com
src/rgw/rgw_kms.cc