Open exalate-issue-sync[bot] opened 1 year ago
Michal Malohlava commented: For minio we also need path style support:
{{ Amazon S3 supports virtual-hosted-style and path-style access in all Regions. The path-style syntax, however, requires that you use the region-specific endpoint when attempting to access a bucket.
The default behaviour is to detect which access style to use based on the configured endpoint (an IP will result in path-style access) and the bucket being accessed (some buckets are not valid DNS names). Setting this flag will result in path-style access being used for all requests. }}
Bill Gallmeister commented: Hmm, PR in progress already...
Michal Malohlava commented: Scott is testing it - minor update in S3 client configuration. We will be able to point to non-AWS S3 .
JIRA Issue Migration Info
Jira Issue: PUBDEV-3321 Assignee: Michal Malohlava Reporter: Michal Malohlava State: Open Fix Version: N/A Attachments: N/A Development PRs: Available
Linked PRs from JIRA
To support Minio S3 API, we need to setup an arbitrary S3 endpoint instead of default 's3.amazonaws.com`. Right now, it seems AWS SDK does not allow do that via system/env properties and the setup need to be performed during client initialization.
See code: https://gist.github.com/krishnasrinivas/edc62873bcef5396493f31f8d582fc2c