Skip to content

Commit b17c5bb

Browse files
Sqlserver, Fabric: update auth methods (#999)
* Sqlserver, Fabric: update auth methods * Sqlserver, Fabric: update auth methods * Sqlserver, Fabric: update auth methods * Update connect-fabric.md * Update connect-fabric.md - try one more time * Update connect-fabric.md - remove inline code tag --------- Co-authored-by: Benjamin Pirotte <benjamin.pirotte@soda.io>
1 parent f12e315 commit b17c5bb

File tree

2 files changed

+33
-5
lines changed

2 files changed

+33
-5
lines changed

soda/connect-fabric.md

Lines changed: 31 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,39 @@ Soda support for Fabric data source is based on `soda-sqlserver` package.
1919
```yaml
2020
data_source my_datasource_name:
2121
type: fabric
22-
... same as sqlserver
23-
authentication_method: fabric
22+
host: host
23+
port: '1433'
24+
username: simple
25+
password: simple_pass
26+
database: database
27+
schema: dbo
28+
trusted_connection: false
29+
encrypt: false
30+
trust_server_certificate: false
31+
driver: ODBC Driver 18 for SQL Server
32+
scope: DW
33+
connection_parameters:
34+
multi_subnet_failover: true
35+
authentication: sql
2436
```
2537
26-
| Property | Required | Notes |
27-
| -------- | -------- | ---------------------------------------------------------- |
28-
| authentication_method | optional | Fabric authentication method. Supported values: 'auto', 'cli', 'environment', 'synapsespark' and 'fabricspark'. No default value. |
38+
| Property | Required | Notes |
39+
| -------- | -------- | ----- |
40+
| type | required | Identify the type of data source for Soda. |
41+
| host | required | Provide a host identifier. |
42+
| port | optional | Provide a port identifier. You can remove the `port` config setting entirely. Default: `1433`. |
43+
| username | required | Use system variables to retrieve this value securely. |
44+
| password | required | Use system variables to retrieve this value securely. |
45+
| database | required | Provide an identifier for your database. |
46+
| schema | required | Provide an identifier for the schema in which your dataset exists. |
47+
| trusted_connection | optional | Indicate connection trustworthiness by providing a boolean value: `true` or `false`. The default value is `false`. Set to `true` if you are using Active Directory authentication. |
48+
| encrypt | optional | Indicate the encryption status by providing a boolean value: `true` or `false`. The default value is `false`. |
49+
| trust_server_certificate | optional | Specifies whether encryption occurs if there is no verifiable server certificate. Provide a boolean value: `true` or `false`. The default value is `false`. |
50+
| driver | optional | Use this config setting to specify the ODBC driver version you use. For example, `SQL Server Native Client 11.0` or `ODBC Driver 18 for SQL Server`. |
51+
| scope | optional | Access token scope. |
52+
| multi_subnet_failover | optional | Enable MultiSubnetFailover; see [MS documentation](https://learn.microsoft.com/en-us/dotnet/framework/data/adonet/sql/sqlclient-support-for-high-availability-disaster-recovery#connecting-with-multisubnetfailover). |
53+
| authentication | optional | Authentication method to use. Supported values: `sql`, `activedirectoryinteractive`, `activedirectorypassword`, `activedirectoryserviceprincipal`, `activedirectory`, `auto`, `cli`, `environment`, `synapsespark`, and `fabricspark`. The default value is `sql`, which uses `username` and `password` to authenticate. |
54+
2955

3056

3157
{% include test-connection.md %}

soda/connect-mssql.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ data_source my_datasource_name:
3131
scope: DW
3232
connection_parameters:
3333
multi_subnet_failover: true
34+
authentication: sql
3435
```
3536
3637
| Property | Required | Notes |
@@ -48,6 +49,7 @@ data_source my_datasource_name:
4849
| driver | optional | Use this config setting to specify the ODBC driver version you use. For example, `SQL Server Native Client 11.0` or `ODBC Driver 18 for SQL Server`. |
4950
| scope | optional | Access token scope. |
5051
| `multi_subnet_failover` | optional | Enable MultiSubnetFailover; see <a href="https://learn.microsoft.com/en-us/dotnet/framework/data/adonet/sql/sqlclient-support-for-high-availability-disaster-recovery#connecting-with-multisubnetfailover" target="_blank">MS documentation</a>.
52+
| authentication | optional | Authentication method to use. Supported values: `sql`, `activedirectoryinteractive`, `activedirectorypassword`, `activedirectoryserviceprincipal`, `activedirectory`. The default value is `sql` which uses `username` and `password` to authenticate. |
5153

5254
{% include test-connection.md %}
5355

0 commit comments

Comments
 (0)