starting working on SSE for s3

This commit is contained in:
chrislovecnm 2016-08-03 10:56:14 -06:00
parent 5191616cb8
commit f65f1200a4
1 changed files with 1 additions and 0 deletions

View File

@ -82,6 +82,7 @@ func (p *S3Path) WriteFile(data []byte) error {
request.Body = bytes.NewReader(data)
request.Bucket = aws.String(p.bucket)
request.Key = aws.String(p.key)
request.ServerSideEncryption = aws.String("AES256")
// We don't need Content-MD5: https://github.com/aws/aws-sdk-go/issues/208