Closed joannren closed 2 weeks ago
Please check the files in the .aws
directory in your home directory.
If any of these files are directories (wrong), that could trigger this issue:
.aws/credentials
.aws/config
any of the files in the .aws/sso/cache/ directory
Thank you SO much!!! I removed the folder .aws/credentials. My two previous profiles saved in config file under .aws are back!
Problem
I have AWS profile created for our dev and prod environment for AWS toolkit. It works very well until recently, I can no longer login using these two profiles I created and no more new profiles can be created using AWS toolkit. During this time what may have affect this extension is
What I have tried to reproduce the issue
It looks like our app profiles have a copy on ADirectory. In my case, the default base path is the ADirectory but in my co-workers case there is no such issue. see the screenshots below about this copy on ADirectory.
This took me more than 2days and quite frustrating. Therefore create an issue to see if any experts here can look into it, provide suggestions or provide a fix would be really appreciated! Thank you!
Same error produced when switch connection
Expected behavior
can display previous profiles saved in the config under .aws folder or create new profiles
System details (run
AWS: About
and/orAmazon Q: About
)