peak/s5cmd

endpoint_url support in configuration file

Opened this issue · 0 comments

(Supported in AWS CLI versions 1.29.0, 2.13.0 and later) In the .aws/credentials configuration file, add the endpoint_url parameter:

https://docs.aws.amazon.com/sdkref/latest/guide/feature-ss-endpoints.html

Example:

[profile dev]
aws_access_key_id = key_id
aws_secret_access_key = secret_access_key
endpoint_url = https://endpoint_dev.com
region = es-central1

[profile prod]
aws_access_key_id = key_id
aws_secret_access_key = secret_access_key
endpoint_url = https://endpoint_prod.com
region = es-central1

UPD:
#591