Skip to content

Support S3 Compatible Blob Storage Providers #22962

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 6 commits into
base: dev
Choose a base branch
from
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add CloudFlare R2 example documentation
  • Loading branch information
enisn committed May 26, 2025
commit 898a3134bb969cc56f02fa0f2a17f039212d0956
10 changes: 5 additions & 5 deletions docs/en/framework/infrastructure/blob-storing/aws.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ Configure<AbpBlobStoringOptions>(options =>
});
````

### Wasabi Configuration
### Cloudflare R2 Configuration

````csharp
Configure<AbpBlobStoringOptions>(options =>
Expand All @@ -125,10 +125,10 @@ Configure<AbpBlobStoringOptions>(options =>
{
container.UseAws(aws =>
{
aws.AccessKeyId = "your-wasabi-access-key";
aws.SecretAccessKey = "your-wasabi-secret-key";
aws.ServiceURL = "https://s3.us-east-1.wasabisys.com";
aws.Region = "us-east-1";
aws.AccessKeyId = "your-r2-access-key";
aws.SecretAccessKey = "your-r2-secret-key";
aws.ServiceURL = "https://your-account-id.r2.cloudflarestorage.com";
aws.Region = "auto"; // Cloudflare R2 uses 'auto' as region
aws.ContainerName = "my-bucket";
aws.CreateContainerIfNotExists = true;
});
Expand Down
Loading