Amazon S3 offers server side encryption for objects placed in the buckets.This feature offers a great deal of robustness with a minimal amount of effort. This feature is enabled 'per object' by setting the encryption to use on the ObjectMetadata object during a PUT operation; all the heavily lifting is done by the S3 service.
Minimal code changes are required for this improvement; an added constant to S3Constants, a check for header in the S3Producer and a write to header on the S3Endpoint. I have included a patch. As there is no current unit test for S3Producer and as mentioned in
CAMEL-5781, no unit tests are added.