Skip to content

Commit

Permalink
adds dbt deps to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
rudolfix committed Nov 8, 2023
1 parent 410cf6b commit 4cb8d38
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 18 deletions.
13 changes: 12 additions & 1 deletion docs/website/docs/dlt-ecosystem/destinations/snowflake.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ Now you can use the user named `LOADER` to access database `DLT_DATA` and log in
You can also decrease the suspend time for your warehouse to 1 minute (**Admin**/**Warehouses** in Snowflake UI)

### Authentication types
Snowflake destination accepts two authentication type
Snowflake destination accepts three authentication types
- password authentication
- [key pair authentication](https://docs.snowflake.com/en/user-guide/key-pair-auth)

Expand Down Expand Up @@ -95,6 +95,17 @@ If you pass a passphrase in the connection string, please url encode it.
destination.snowflake.credentials="snowflake://loader:<password>@kgiotue-wn98412/dlt_data?private_key=<base64 encoded pem>&private_key_passphrase=<url encoded passphrase>"
```

In **external authentication** you can use oauth provider like Okta or external browser to authenticate. You pass your authenticator and refresh token as below:
```toml
[destination.snowflake.credentials]
database = "dlt_data"
username = "loader"
authenticator="..."
token="..."
```
or in connection string as query parameters.
Refer to Snowflake [OAuth](https://docs.snowflake.com/en/user-guide/oauth-intro) for more details.

## Write disposition
All write dispositions are supported

Expand Down
34 changes: 17 additions & 17 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,8 @@ pymysql = "^1.1.0"
pypdf2 = "^3.0.1"
pydoc-markdown = "^4.8.2"
connectorx="0.3.1"
dbt-core=">=1.2.0"
dbt-duckdb=">=1.2.0"

[build-system]
requires = ["poetry-core>=1.0.8"]
Expand Down

0 comments on commit 4cb8d38

Please sign in to comment.