Skip to content
This repository has been archived by the owner on Jun 12, 2018. It is now read-only.

Use S3 Server Side Encryption in Strata #19

Open
geoffbonneau opened this issue Aug 3, 2016 · 2 comments
Open

Use S3 Server Side Encryption in Strata #19

geoffbonneau opened this issue Aug 3, 2016 · 2 comments

Comments

@geoffbonneau
Copy link

I am not very familiar with Go, so I apologize if this is a silly question. Is there a way to have Strata upload files to S3 with the SSE flag/options enabled?

@igorcanadi
Copy link
Contributor

Yeah, I think so. We use github.com/AdRoll/goamz library to access S3 and that library does expose the SSE option: https://github.com/AdRoll/goamz/blob/master/s3/s3.go#L63

So you'd just have to hook it up with our API here: https://github.com/facebookgo/rocks-strata/blob/master/strata/s3storage/storage.go#L59

Feel free to submit the pull request!

@geoffbonneau
Copy link
Author

Thanks for the pointers, I will take a swing at it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants