diff --git a/SQLTools.sublime-settings b/SQLTools.sublime-settings index e99728f..de973b6 100644 --- a/SQLTools.sublime-settings +++ b/SQLTools.sublime-settings @@ -516,6 +516,9 @@ "snowsql": { "options": [], + "env_optional": { + "SNOWSQL_PWD": "{password}" + }, "args": "-u {user} -a {account} -d {database} --authenticator {auth} -K", "queries": { "execute": { diff --git a/SQLToolsConnections.sublime-settings b/SQLToolsConnections.sublime-settings index fcd5abf..7e78a4e 100644 --- a/SQLToolsConnections.sublime-settings +++ b/SQLToolsConnections.sublime-settings @@ -88,10 +88,12 @@ "database": "database", // for possible authentication configurations see // https://docs.snowflake.net/manuals/user-guide/snowsql-start.html#authenticator - // if using "snowflake", need to set SNOWSQL_PWD environment variable "user" : "user@example.com", "account" : "account_name", "auth": : "snowflake | externalbrowser | " + // if using "auth": "snowflake", provide a password + // if using "auth": "externalbrowser" or "", no password needed + "password": "pwd" } */ },