Skip to content

Commit

Permalink
Updated synapse documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
dat-a-man committed Apr 1, 2024
1 parent 7e8eed7 commit 47c657a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/website/docs/dlt-ecosystem/destinations/synapse.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,16 @@ pipeline = dlt.pipeline(
dataset_name='chess_data'
)
```
To use Active Directory Principal, you can use the `sqlalchemy.engine.URL.create` method to create the connection URL using your Active Directory Service Principal credentials. Once you have the connection URL, you can directly use it in your pipeline configuration or convert it to a string.
```py
pipeline = dlt.pipeline(
pipeline_name='chess',
destination=dlt.destinations.synapse(
credentials=connection_url.render_as_string(hide_password=False)
),
dataset_name='chess_data'
)
```

## Write disposition
All write dispositions are supported.
Expand Down

0 comments on commit 47c657a

Please sign in to comment.