elementar / docker-s3-volume

Docker container with a data volume from s3.
MIT License
267 stars 68 forks source link

Support for ServerSide Encryption Flag #7

Open dodgemich opened 7 years ago

dodgemich commented 7 years ago

For security purposes, use of the server side encryption flag would be very handy as another option to pass in. Wasn't sure on preferred mode of injection, but seems like a simple change.

http://docs.aws.amazon.com/cli/latest/reference/s3/sync.html

[--sse ] [--sse-c ] [--sse-c-key ] [--sse-kms-key-id ] [--sse-c-copy-source ] [--sse-c-copy-source-key ]

fabiob commented 6 years ago

@dodgemich, I would like to see a PR for that.

lstellway commented 2 years ago

I believe the S3_SYNC_FLAGS environment variable would be able to accomplish this (inline reference).