necatiarslan / aws-s3

Aws S3 Extension for VsCode
Apache License 2.0
9 stars 6 forks source link

How to use custom endpoint-url with extension in ssh-remote session? #8

Closed kenjim closed 11 months ago

kenjim commented 1 year ago

I'm trying to use your aws-s3 extension where I need to specify the --endpoint-url in all aws CLI calls. I'm using aws cli v1 on the remote ssh server. Your help is appreciated.

necatiarslan commented 1 year ago

To update the endpoint url, click the 3 dots button (the last button on the treeview in the left panel), then you will see the update menu item. let me know if it works

kenjim commented 1 year ago

Unfortunately, I still couldn't get it to work. My .aws/config is as follows, and I have export AWS_SDK_LOAD_CONFIG=1 in my .bashrc. The endpoint looks like http://hostname.domain.net:80 which points to an internal filer endpoint.

[profile foo-bar] aws_access_key_id=KEY aws_secret_access_key=KEY

[profile bar-foo] aws_access_key_id=KEY aws_secret_access_key=KEY

kenjim commented 1 year ago

I press + button to add the bucket name, but I get following error:

api.GetBucketList Error !!! | CredentialsError | Missing credentials in config, if using AWS_CONFIG_FILE, set AWS_SDK_LOAD_CONFIG=1

necatiarslan commented 11 months ago

pls try again with the new version 1.3