How do I use AWS Signature Version 4 with Wasabi?

AWS Signature Version 4 allows you to authenticate your requests to AWS resources.  Signature Version 4 can be used with Wasabi by pointing the "Host:" header to Wasabi servers. The Signature generation process is explained in detail here. Below are the instructions to get Signature version 4 working with Wasabi using Java language:

1. AWS provides Signature calculation example.  Download the jar file from here.

2. Import the jar files to a project in any one of the Java IDEs such as Eclipse, Net Beans, IntelliJ etc.

3. The above jar file has examples to upload a file to a bucket, retrieve file from a bucket, generate pre signed URL and to perform chunked upload

4. Type in the Wasabi Access Keys, bucket name and the region name in the "" file


5. Replace "" with "" for the "endpointURL" variable in the following files:

"", "", '", ""

6. Save all the files and run the "" file

Note that this example discusses the use of Wasabi's us-east-1 storage region. To use other Wasabi storage regions, please use the appropriate Wasabi service URL as described in this article

Have more questions? Submit a request