saws icon indicating copy to clipboard operation
saws copied to clipboard

Ability to specify endpoint url in config

Open StFS opened this issue 9 years ago • 5 comments

I'm not quite sure if saws is committed to using the exact same configuration syntax as the aws-cli tools.

I reported this feature request on that a while ago: https://github.com/aws/aws-cli/issues/1270

Nothing has happened there yet but I'm hoping that saws might be more willing to incorporate this feature.

I'm copying the text from the above feature request here:

Currently I don't seem to be able to specify an endpoint URL in my profile. I always have to specify the --endpoint-url option on the command line.

I would like to be able to do something like the following (in my ~/.aws/config file):

[default] region = us-east-1 output = json

[profile nextcode] region = myregion-1a output = json endpoint-url = http://c.my.other.aws.compatable.service.com

The reason for requesting this is that we use an EC2 compatable infrastructure manager (http://www.qstack.com) which I would like to use aws-cli or saws for managing. The problem is that for aws-cli I need to specify the --endpoint-url parameter every time on the command line, which is annoying. Instead I would like to be able to put it into the profile in the configuration file.

StFS avatar Sep 23 '15 11:09 StFS

Hi Stefán,

Thanks for the feedback request. Seems do-able, I'll put it on the TODO list.

-Donne

donnemartin avatar Sep 23 '15 15:09 donnemartin

Awesome... thank you!

I'll see if I can find some time and do a pull request but things are a bit hectic these days.

StFS avatar Sep 23 '15 15:09 StFS

Any news on this feature ? Thank you

xavierdavidgarcia avatar Jun 28 '16 01:06 xavierdavidgarcia

This would be a great feature - my use case is for local testing with dynamodb-local

lqueryvg avatar Aug 12 '18 10:08 lqueryvg

I second the request. We use Scality for S3-compatible on-prem storage. There should be a way, IMHO, to define the url of a self-hosted service in the sections of the aws config file. Hoping, by the way, that the AWS VS Code extension would also use the new setting. It's very helpfull to get an overview of buckets and prefixes there.

mifi-cologne avatar Mar 26 '21 00:03 mifi-cologne