[ 
https://issues.apache.org/jira/browse/BEAM-3813?focusedWorklogId=101780&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-101780
 ]

ASF GitHub Bot logged work on BEAM-3813:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 14/May/18 17:25
            Start Date: 14/May/18 17:25
    Worklog Time Spent: 10m 
      Work Description: lukecwik commented on a change in pull request #5244: 
[BEAM-3813] Support encryption for S3FileSystem (SSE-S3, SSE-C and SSE-KMS)
URL: https://github.com/apache/beam/pull/5244#discussion_r188033549
 
 

 ##########
 File path: 
sdks/java/io/amazon-web-services/src/main/java/org/apache/beam/sdk/io/aws/options/S3Options.java
 ##########
 @@ -33,13 +37,44 @@
 
   @Description(
       "Size of S3 upload chunks; max upload object size is this value 
multiplied by 10000;"
-          + "default is 64MB, or 5MB in memory-constrained environments")
-  @Nullable
+          + "default is 64MB, or 5MB in memory-constrained environments. Must 
be at least 5MB.")
+  @Default.InstanceFactory(S3UploadBufferSizeBytesFactory.class)
   Integer getS3UploadBufferSizeBytes();
+
   void setS3UploadBufferSizeBytes(Integer value);
 
   @Description("Thread pool size, limiting max concurrent S3 operations")
   @Default.Integer(50)
   int getS3ThreadPoolSize();
   void setS3ThreadPoolSize(int value);
+
+  @Description("Algorithm for SSE-S3 encryption, e.g. AES256.")
+  @Nullable
+  String getSSEAlgorithm();
+  void setSSEAlgorithm(String value);
+
+  @Description("SSE key for SSE-C encryption, e.g. a base64 encoded key and 
the algorithm.")
+  @Nullable
+  SSECustomerKey getSSECustomerKey();
 
 Review comment:
   Since this is a custom object type, how does it get serialized/deserialized 
with Jackson?
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 101780)
    Time Spent: 1.5h  (was: 1h 20m)

> Support encryption for S3FileSystem (SSE-S3, SSE-C and SSE-KMS)
> ---------------------------------------------------------------
>
>                 Key: BEAM-3813
>                 URL: https://issues.apache.org/jira/browse/BEAM-3813
>             Project: Beam
>          Issue Type: Improvement
>          Components: io-java-aws
>            Reporter: Ismaël Mejía
>            Assignee: Ismaël Mejía
>            Priority: Minor
>             Fix For: 2.5.0
>
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> We should enable AWS S3 users to use encryption when reading or writing by 
> provide encryption keys or using server side encryption via an algorithm, or 
> a key management system (KMS)..
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to