--- title: "AWS Signature Version 4 With Wasabi" slug: "how-do-i-use-aws-signature-version-4-with-wasabi" updated: 2026-10-16T17:04:51Z published: 2026-10-16T17:04:51Z canonical: "docs.wasabi.com/how-do-i-use-aws-signature-version-4-with-wasabi" --- > ## 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 [Amazon S3 API Reference](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 a signature calculation example. Download the [jar file](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, NetBeans, IntelliJ, and so on. 3. The above jar file has examples to upload a file to a bucket, retrieve a file from a bucket, generate a pre-signed URL, and to perform a 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-1792169971994.png) 5. 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-1792170007543.png) 6. Save all the files and run the RunAllSamples.java file Note that this example uses Wasabi’s us-east-1 storage region. To use other Wasabi storage regions, use the appropriate Wasabi service URL as described in [Service URLs for Wasabi’s Storage Regions](https://docs.wasabi.com/docs/what-are-the-service-urls-for-wasabis-different-storage-regions).