Quantcast
Channel: Amazon S3 - Specifying SSE-S3 with pre-signed URL's usingAPEX - Salesforce Stack Exchange
Viewing all articles
Browse latest Browse all 2

Answer by Richard N for Amazon S3 - Specifying SSE-S3 with pre-signed URL's usingAPEX

$
0
0

I solved the problem. Amazon S3 requires the headers to be in alphabetical order.

All the documentation shows the header as : x-amz-server-side-encryptionBut when creating the canonical request we need to specify it like this (Camel case). Got me stumped for a while.

defaults.put('X-Amz-Server-Side-Encryption','aws:kms');

or

defaults.put('X-Amz-Server-Side-Encryption','AES256');

Viewing all articles
Browse latest Browse all 2

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>