Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-5857

Add server side encryption to header options when constructing an ObjectMetadata for a PUT in the S3Producer

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.16.0
    • Component/s: camel-aws
    • Labels:
      None
    • Patch Info:
      Patch Available
    • Estimated Complexity:
      Novice

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              davsclaus Claus Ibsen
              Reporter:
              slepage Scott LePage
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: