You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that a reasonable approach is OpenDAL should read and parse the config file itself, since there are many configs unrelated to key signing.
I prefer incorporate all those scopes into reqsign. By implementing them in reqsign, users who need to interact with AWS services can reuse reqsign without relying on OpenDAL.
endpoint_url is good to be supported. Other S3-specific settings, such as multipart size, might not be applicable because they are intended for s3cmd, and opendal doesn't offer the same semantic to users.
Feature Description
aws config file allows users to customize the endpoint_url from config file or environment.
Problem and Solution
The argument will override the endpoint used by AWS CLI. It's preferable for OpenDAL to respect this.
It can also be specified by S3, but we can support it later due to parsing complexity:
The environment variable
AWS_ENDPOINT_URL
orAWS_ENDPOINT_URL_S3
can also override the argument.Additional Context
OpenDAL appears to use the
reqsign
crate, owned by @Xuanwo, to parse the config file. Should we add the argument support in that crate?Are you willing to contribute to the development of this feature?
The text was updated successfully, but these errors were encountered: