How to save server connection credentials in Visual Studio Code?
Hi,
Every time I have to enter password in Visual Studio Code. Is there any why to save the password in VSCode?
Thanks
Comments
please try the below steps
1) go to view -> command palette
2) select "Intersystems server manager: Store password in the key chain" from the list
3) click the + symbol on the right side
4) after that, enter unique definition name, IP address and port
5) finally enter the username and password
Hi Muhammad,
Please follow below steps: (if it's personal instance)
1. Go to "Settings"
2. Search "InterSystems Server Manager"
3. Click "Edit in setting.json"
4. Edit
"intersystems.servers": {
"irishealth": {
"webServer": {
"scheme": "http",
"host": "localhost",
"port": 52773
},
"username": "_system",
"password": "system"
}
}
Add your password in json,
5. Save "settings.json"
Thanks,
IMO storing a password in plaintext like this should only be used as a last resort, or when the password is the default one for a built-in username. In all other cases I recommend using Server Manager's ability to store the password in your workstation's keychain.