Skip to content

Commit

Permalink
feat: support oauth in snowflake utils (#14)
Browse files Browse the repository at this point in the history
* feat: allow multiple authentication methods

* fix: tests, bump packages
  • Loading branch information
pquadri authored Sep 20, 2024
1 parent fb4fb03 commit 6a6bcce
Show file tree
Hide file tree
Showing 5 changed files with 604 additions and 516 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,13 @@ test_table.copy(
## Table structure

When initialising the table object you can pass a table structure that contains a dictionary of name: column, where Column is an object that contains the column data type and eventual tags to be applied to the column.

## Authentication methods

You can use multiple authentication methods by either passing `authenticator` to the SnowflakeSettings object or by setting the env variable `SNOWFLAKE_AUTHENTICATOR`.
Available authenticators include:

- `snowflake`: default, username + password
- `username_password_mfa` which also caches the MFA token
- `externalbrowser` to login through the browser
- suppling an Okta domain -> currently untested
Loading

0 comments on commit 6a6bcce

Please sign in to comment.