From 094cd908e5d0a147d6b9bbfaf3e222d592bf14af Mon Sep 17 00:00:00 2001 From: Sergei Zyubin Date: Wed, 11 Dec 2024 13:02:20 +0100 Subject: [PATCH] docs: add WinSSPI/NTLM connection options (#653) Update README.md --- README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/README.md b/README.md index 382d151f..fc87c8da 100644 --- a/README.md +++ b/README.md @@ -359,6 +359,23 @@ In case you need a more sophisticated setup (e.g. with logging, environment vari +
+Using WinSSPI/NTLM as the authentication mechanism for MSSQL + +If sql_exporter is running in the same Windows domain as the MSSQL, then you can use the parameter `authenticator=winsspi` within the connection string to authenticate without any additional credentials: + +``` +sqlserver://@:?authenticator=winsspi +``` + +If you want to use Windows credentials to authenticate instead of MSSQL credentials, you can use the parameter `authenticator=ntlm` within the connection string. The USERNAME and PASSWORD then corresponds +to a Windows username and password. The Windows domain may need to be prefixed to the username with a trailing `\`: + +``` +sqlserver://:@:?authenticator=ntlm +``` +
+
TLS and Basic Authentication