Skip to content

Commit 7b9d5c2

Browse files
authored
Merge pull request ceph#65011 from irq0/pr/fix-barbican-deprecated-call
rgw: Replace deprecated Barbican payload endpoint with alternative
2 parents bbda58e + e60d031 commit 7b9d5c2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/rgw/rgw_kms.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -929,6 +929,7 @@ static int request_key_from_barbican(const DoutPrefixProvider *dpp,
929929
}
930930
concat_url(secret_url, "/v1/secrets/");
931931
concat_url(secret_url, std::string(key_id));
932+
concat_url(secret_url, "/payload");
932933

933934
bufferlist secret_bl;
934935
RGWHTTPTransceiver secret_req(cct, "GET", secret_url, &secret_bl);

0 commit comments

Comments
 (0)