---
title: "AWS Signature Version 4 With Wasabi"
slug: "how-do-i-use-aws-signature-version-4-with-wasabi"
updated: 2026-05-28T16:02:14Z
published: 2026-05-28T16:02:14Z
---

> ## Documentation Index
> Fetch the complete documentation index at: https://docs.wasabi.com/llms.txt
> Use this file to discover all available pages before exploring further.

# AWS Signature Version 4 With Wasabi

[AWS Signature Version 4](https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html) 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](https://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html). 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](https://s3.amazonaws.com/aws-java-sdk/samples/AWSS3SigV4JavaSamples.jar).
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 "RunAllSamples.java" file

![](https://cdn.document360.io/bef0a1ea-7768-4d5a-b520-c4fe2f7fafad/Images/Documentation/image(3).png)

1. Replace "s3.amazonaws.com" with "s3.wasabisys.com" for the "endpointURL" variable in the following files:

"PutS3ObjectSample.java", "GetS3ObjectSample.java", 'PresignedUrlSample.java", "PutS3ObjectChunkedSample.java"

![](https://cdn.document360.io/bef0a1ea-7768-4d5a-b520-c4fe2f7fafad/Images/Documentation/image(4).png)

1. Save all the files and run the "RunAllSamples.java" 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](https://docs.wasabi.com/docs/what-are-the-service-urls-for-wasabis-different-storage-regions).
