Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
3.7.2
-
None
-
Unknown
Description
When using creational object requests for s3 operations camel supports using awsKms and supplying a KMS key. However when using these values the serverSideEncryption value is not set. This means the s3Client will not set the correct headers causing the object request to fail with s3Client giving the reason of
Server Side Encryption with AWS KMS managed key requires HTTP header x-amz-server-side-encryption : aws:kms"
A potential easy fix for this would be to call objectRequest.serverSideEncryption("aws:kms")
when setting the KMSKeyId.
Attachments
Issue Links
- links to