Skip to content

Commit

Permalink
Update sqlserver docs for TLS connections (influxdata#6409)
Browse files Browse the repository at this point in the history
  • Loading branch information
GeorgeJahad authored and idohalevi committed Sep 23, 2020
1 parent 8470a47 commit 87b3193
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion plugins/inputs/sqlserver/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ GO
## By default, the host is localhost, listening on default port, TCP 1433.
## for Windows, the user is the currently running AD user (SSO).
## See https://github.com/denisenkom/go-mssqldb for detailed connection
## parameters.
## parameters, in particular, tls connections can be created like so:
## "encrypt=true;certificate=<cert>;hostNameInCertificate=<SqlServer host fqdn>"
# servers = [
# "Server=192.168.1.10;Port=1433;User Id=<user>;Password=<pw>;app name=telegraf;log=1;",
# ]
Expand Down
3 changes: 2 additions & 1 deletion plugins/inputs/sqlserver/sqlserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ var sampleConfig = `
## By default, the host is localhost, listening on default port, TCP 1433.
## for Windows, the user is the currently running AD user (SSO).
## See https://github.com/denisenkom/go-mssqldb for detailed connection
## parameters.
## parameters, in particular, tls connections can be created like so:
## "encrypt=true;certificate=<cert>;hostNameInCertificate=<SqlServer host fqdn>"
# servers = [
# "Server=192.168.1.10;Port=1433;User Id=<user>;Password=<pw>;app name=telegraf;log=1;",
# ]
Expand Down

0 comments on commit 87b3193

Please sign in to comment.