peak / s5cmd

Parallel S3 and local filesystem execution tool.
MIT License
2.7k stars 239 forks source link

Support endpoint_url in aws config #760

Closed zalsader closed 1 month ago

zalsader commented 1 month ago

The new aws client (v2) supports adding the endpoint url in the config, for example:

[default]
endpoint_url=http://example.com

Is it possible to add support for this here?

I dug a bit into it, and parsing the config file is done by https://github.com/aws/aws-sdk-go, while the new client uses https://github.com/aws/aws-sdk-go-v2

I think we could read the ini for that specific value if switching to the new sdk is not planned.

rasca commented 1 month ago

Duplicate of #694

zalsader commented 1 month ago

Thank you, somehow it didn't turn up when I searched.