I’ve read a document about using SSE, but I cannot find how do I use SSE when storing files on S3 using s3-put command from s3-bash.
I run the backup storage procedure like this:
./s3-put -k ABCDEFGHIJKLMNOPQRS -s aws-key -T dbbackup/2011-10-10.sql /dbbackup/2011-10-10.sql
Ok, I’ve found the answer.
You change the line to look like:
And create an
aws-headersfile that contains the line:Then it will send required request header that tells S3 to encrypt the content.