I'm trying to use a presigned URL to upload files to S3. It works fine in my testing enviroment, but when I try and use the same code in the live environment (on elastic beanstalk) it returns an "AccessDenied" error.
I notice that the live request has completely different parameters, though the code is the same. On localhost I have:
X-Amz-Expires, X-Amz-Algorithm, X-Amz-Credential, X-Amz-Date, X-Amz-SignedHeaders, X-Amz-Signature
On live I have:
AWSAccessKeyId, Expires,x-amz-security-token, Signature