in AWS

Accessing Private S3 Buckets Without Credentials

A short video where I explain how you can access an s3 bucket by using a pre-signed url to upload a file.

The example provided is based on python and use boto3 SDK.


If you get this error:

<Message>The request signature we calculated does not match the signature you provided. Check your key and signing method.</Message>

Make sure to specify the correct signature version when interacting with s3, it should be s3v4.

A second error that you can get is when you don’t specify the correct order of your fields, then you will get this error:

<Message>Bucket POST must contain a field named ‘key’. If it is specified, please check the order of the fields.</Message>


If you find it helpful don’t forget to hit 🥊 that like button.

Share your thoughts