Skip to content

Commit

Permalink
docs: add WinSSPI/NTLM connection options (#653)
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
burningalchemist authored Dec 11, 2024
1 parent 5dccdc4 commit 094cd90
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,23 @@ In case you need a more sophisticated setup (e.g. with logging, environment vari

</details>

<details>
<summary>Using WinSSPI/NTLM as the authentication mechanism for MSSQL</summary>

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://@<HOST>:<PORT>?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://<DOMAIN\USERNAME>:<PASSWORD>@<HOST>:<PORT>?authenticator=ntlm
```
</details>

<details>
<summary>TLS and Basic Authentication</summary>

Expand Down

0 comments on commit 094cd90

Please sign in to comment.