-
Notifications
You must be signed in to change notification settings - Fork 31
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
AWS Toolkit erased the content of the credentials file #454
Comments
Hi @TheBlueSky, Can you provide details about a few things for us to investigate this further?
|
Hi @shruti0085, The answers to your questions are:
|
@TheBlueSky thanks for confirming the above. |
This issue is missing required information and will be closed in 7 days. To keep the issue open, leave a comment. |
I am on v1.57.0.0, and it does not erase the credentials file any more. However, it still adds the following text to the file, directly after the last character in the file, whether this text already in the file of not:
This can make the credentials in the file invalid. For example, if the last line in my file is (without line break):
It becomes:
It will be helpful, instead of appending the text to the file "blindly", to:
|
Describe the bug
Recently, AWS Toolkit was updated to version 1.55.2.0. I got the yellow banner in Visual Studio that suggest I configure the extension using "Extensions > AWS Toolkit > Getting Started" menu option. I did that, selected "AWS Explorer", and then clicked "Edit credentials file directly...", because I already have the required profiles configured.
AWS Toolkit, replaced the content of the credentials file with the following text:
This all happens without any warning and before even configuring and saving anything.
To Reproduce
Expected behavior
AWS Toolkit leave the credentials file unchanged, unless the user configures something. In such case, AWS Toolkit must append to the file, not replace it.
Screenshots
N/A
Toolkit Logs
N/A
Development System (please complete the following information):
Additional context
I have no addition context to add, but I would like to express my frustration. Any "destructive" action must not happen without the user's knowledge. It does not make sense to assume that the file does not exist or its content do not matter.
The text was updated successfully, but these errors were encountered: