Skip to content

Wasabi Storage

Robin Rodricks edited this page Jul 6, 2026 · 2 revisions

In order to use Wasabi storage you need to reference NuGet package first. The provider wraps around the standard AWS SDK which is updated regularly, but adds a lot of untrivial workarounds that makes your life painless.

Connect to Wasabi

You can use the Wasabi method to connect to Wasabi storage servers (S3 compatible).

To obtain the wasabiServiceUrl, refer to this Wasabi article, and take the values in the Service URL column (add https:// as a prefix).

IBlobStorage storage = StorageFactory.Blobs.Wasabi(
    accessKeyId, secretAccessKey, bucketName, wasabiServiceUrl);

Connection Strings

To create with a connection string, first reference the module:

StorageFactory.Modules.UseAwsStorage();

Then construct using the following format:

IBlobStorage storage = StorageFactory.Blobs.FromConnectionString("wasabi://keyId=...;key=...;bucket=...;serviceUrl=...");

where:

  • keyId is (optional) access key ID.
  • key is (optional) secret access key.
  • bucket is bucket name.
  • serviceUrl is the values in the Service URL column (see above section).

AWS CLI Profile Support

If you already have credentials in the local credentials file generated by AWS CLI, you can also use them to connect to a bucket with FluentStorage. Look here for more details.

Special features for MinIO

  • In file upload requests, DisablePayloadSigning is set to true because R2 does not support "Streaming Signature V4".
  • In file upload requests, PutObjectAsync SDK API used instead of TransferUtility

Native Operations

Native operations are exposed via IAwsS3BlobStorageNativeOperations interface.

Clone this wiki locally