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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.16.0
    • camel-aws
    • None
    • Patch Available
    • 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

        1. camel-aws.patch
          2 kB
          Scott LePage

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: