Commit 1c424ed
Add ForcePathStyle support to AWSS3Config for MinIO compatibility (#1039)
## Motivation and Context (Why the change? What's the scenario?)
This PR adds support for `ForcePathStyle` configuration in `AWSS3Config`
## High level description (Approach, Design)
- Added a `ForcePathStyle` boolean property to `AWSS3Config` (default:
`false`)
- Updated `AWSS3Storage` to pass the value to the
`AmazonS3Config.ForcePathStyle` property
- Maintains backward compatibility with AWS S3 by leaving the default
behavior unchanged
- Improves compatibility with services like MinIO, LocalStack, and
others that require path-style requests
This change is fully backward compatible and has no effect on current
configurations unless explicitly enabled.
Co-authored-by: ersin.yildiz <ersin.yildiz@obase.com>1 parent 4fa2cc5 commit 1c424ed
2 files changed
+8
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
42 | 48 | | |
43 | 49 | | |
44 | 50 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| |||
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
| 51 | + | |
50 | 52 | | |
51 | 53 | | |
52 | 54 | | |
| |||
0 commit comments