Closed jason-riddle closed 8 years ago
Hi @jason-riddle, that seems like a good option to add! I think adding an environment variable such as S3SSEENABLED or something similar would do the trick! If you want to do a PR I would have a look or can add this to the feature list.
So I thought I would have time to work on this sometime this week, but now I'm not sure anymore. Can this at least be added to the feature list?
In my organization, uploading using SSE (server side encryption) is enforced through bucket policies. It looks like in
writeBackupRemote
there is no option to specify SSE.https://github.com/pshima/consul-snapshot/blob/master/backup/backup.go#L300-L327
.What would be the cleanest way to add this option? Would it just be easiest to add another environment variable and check to see if it's set?