robinrodricks / FluentStorage

A polycloud .NET cloud storage abstraction layer. Provides Blob storage (AWS S3, GCP, FTP, SFTP, Azure Blob/File/Event Hub/Data Lake) and Messaging (AWS SQS, Azure Queue/ServiceBus). Supports .NET 5+ and .NET Standard 2.0+. Pure C#.
MIT License
263 stars 33 forks source link

Feature/minio connection string prefix #67

Closed NickHarmer closed 2 months ago

NickHarmer commented 2 months ago

Description

Adds new connection string prefix 'minio.s3' to allow MinIO connections to be created using only a connection string

When the new KnownPrefix.MinIoS3 value is passed to FluentStorage.Aws.CreatyeBlobStorage(StorageConnectionString), the convenience method AwsS3BlobStorage.FromMinIO() is used instead of the main constructor. This method always sets ForcePathStyle to TRUE, which is required for some MinIO functionality (e.g. presigned URL support)

robinrodricks commented 2 months ago

Thanks!