]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw/crypt - generalize putbucketencryption.
authorMarcus Watts <mwatts@redhat.com>
Fri, 28 Jan 2022 10:34:43 +0000 (05:34 -0500)
committerMarcus Watts <mwatts@redhat.com>
Tue, 19 Apr 2022 21:35:40 +0000 (17:35 -0400)
commit8028bae370eaa2ae1eb2cbc010fcf44c7ea6d566
tree7ecdbd5f41bc24ca73f6dd5fa7e89666f1dfd13a
parent28409f9ae55e8c02d01f679b48a8b082ccd2657c
rgw/crypt - generalize putbucketencryption.

The previous logic only suported putbucketencryption to enable
sse-s3.  The protocol allows putbucketencryption to be used to
enable sse-kms by default, and the surrounding logic is now ready
to do this as well.  This commit removes the checks which stopped
this from working, so that it is now possible to use putbucketencryption
to default either sse-s3 or sse-kms on.

Signed-off-by: Marcus Watts <mwatts@redhat.com>
src/rgw/rgw_op.cc