necatiarslan / aws-s3

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

Your Aws Access method is not credentials file #16

Open JoePaduano opened 9 months ago

JoePaduano commented 9 months ago

hello. continue to get this message but i do have /Users/josmith/.aws/config and ~/.aws/credentials setup

and i can connect using this in AWS Toolkit. not sure what i am missing

image

necatiarslan commented 9 months ago

Can you go to OUTPUT logs like below. What is your Aws credentials provider ? Can you see your AccessKeyId ?

image

charamon commented 9 months ago

I have the same issue and I cannot see my aws access key in the output log.

necatiarslan commented 9 months ago

can you share the logs ?

charamon commented 9 months ago

image

necatiarslan commented 9 months ago

There is something wrong with your AWS credentials setup.

charamon commented 9 months ago

The problem is I can't find what because

necatiarslan commented 9 months ago

aws access extension and s3 extension share the same infra for credentials. this weird access extension works but s3 does not. can you uninstall and install the s3 extension? can you share the all logs of aws access extension and s3 extension ?

alex-g-tejada commented 8 months ago

I'm having the same issue on my side. The message seems vague: ''' Aws credentials not found !!! Error: Aws credentials not found !!! ''' What is the default path? I tried adding a "credentials" file in the /home/$USER/.aws location with no luck

necatiarslan commented 8 months ago

can you install aws access extension and try if you can see your credentials there ? If not pls share both extensions logs like here

image

alex-g-tejada commented 8 months ago

I see this:

[2/21/2024, 1:43:56 PM] Aws S3 Extension activation started
[2/21/2024, 1:43:56 PM] TreeView.constructor Started
[2/21/2024, 1:43:56 PM] S3TreeView.loadState Started
[2/21/2024, 1:43:56 PM] S3TreeView.loadState Successfull
[2/21/2024, 1:43:56 PM] S3TreeView.refresh Started
[2/21/2024, 1:43:56 PM] S3TreeView.loadTreeItems Started
[2/21/2024, 1:43:56 PM] Aws S3 Extension activation completed
[2/21/2024, 3:45:28 PM] S3TreeView.SelectAwsProfile Started

Does not mention Aws credentials. Are we supposed to configure this a certain way?

necatiarslan commented 8 months ago

Do you have Aws CLI on your machine?

https://www.youtube.com/watch?v=11aYe_VWMg0

alex-g-tejada commented 8 months ago

Yeah I have this version installed: aws-cli/1.22.34 Python/3.10.12 Linux/5.15.133.1-microsoft-standard-WSL2 botocore/1.23.34

I'm able to access it using the CLI but not the extension. I also use a particular endpoint, but I did update the endpoint on the extension

JoePaduano commented 6 months ago

bug

so sorry for the late reply here - - but yes, i can see my cred file i have AWS CLI installed

  ~ ❯ aws --version                                                                                                            20s
aws-cli/2.15.40 Python/3.11.9 Darwin/23.4.0 source/x86_64 prompt/off

my cred file is in ~/.aws/credentials

& that AWS ACCESS extension picks it up just fine.

image

boomkap commented 6 months ago

I just installed this extension and I have the same issue as well.

Screenshot 2024-04-20 at 8 27 00 PM
snuup commented 1 month ago

Same error here. There is no explanation how to use this extension. This error message is also bad english. And still no fix after a year or hint on how to fix it.