Replacing the Identity in Database Connection Strings
For a basic connection string:
Data Source=dbServer.company.com;Initial Catalog=employees;User Id=companyUser;Password=MyPassword
Hiding password and user ID using tokens:
Data Source=dbServer.company.com;Initial Catalog=employees;User Id=@uid;Password=@pwd
Important: You must provide either both tokens or none at all. If you do not provide tokens, but add a user identity, the behavior will be the same as before. The user identity will be used to impersonate the process running the queries.