Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

endpoint_url support in configuration file #694

Open
abix5 opened this issue Jan 29, 2024 · 1 comment
Open

endpoint_url support in configuration file #694

abix5 opened this issue Jan 29, 2024 · 1 comment

Comments

@abix5
Copy link

abix5 commented Jan 29, 2024

(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

@bio-informatician
Copy link

Using "s5cmd" for the other service providers under the s3 service (other than Amazon), the endpoint URL within the config file does not work. while in the same situation using "aws s3" is fully functional.
For me, s5cmd works only if I provide --endpoint-url

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants