Skip to content

Commit 4c02041

Browse files
authored
Merge pull request #19 from Fuco1/docs/mention-azure-sp
docs: add documentation about service principals
2 parents b714acd + 375c7b1 commit 4c02041

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.org

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,16 @@
2929
connection is established the current buffer will be associated with the SQL
3030
Server and the completion and the query exection will be performed against
3131
that server.
32+
33+
=lsp-mssql= also supports Azure MSSQL. To connect using Service
34+
Principals, you need to use raw connection string:
35+
36+
#+begin_src emacs-lisp
37+
(setq lsp-mssql-connections
38+
[(:server "SERVER-NAME.database.windows.net"
39+
:connectionString "SERVER=SERVER-NAME.database.windows.net;DATABASE=...;UID=...;PWD=...;AUTHENTICATION=ActiveDirectoryServicePrincipal")])
40+
#+end_src
41+
3242
** Commands
3343
- Editor
3444
- =lsp-mssql-connect= - connect the editor to =MSSQL server=.

0 commit comments

Comments
 (0)