Skip to content

Use externalbrowser authenticator? #77

Answered by littleK0i
JohnL4 asked this question in Q&A
Discussion options

You must be logged in to vote

I did not consider SSO as viable option for CLI tools. You would normally want to use password or private key for scripts.

However, according to this article, it seems like Snowflake Python connector already implements all the groundwork:
https://community.snowflake.com/s/article/Using-Single-Sign-On-SSO-with-Python-using-Jupyter-Notebook

I'll see if I can add it in next versions.

In the meantime, if you need it urgently, you may overload this method:
https://github.com/littleK0i/SnowDDL/blob/master/snowddl/app/base.py#L385-L415

And add connection option: "authenticator": "externalbrowser",

In theory, it should work out-of-the-box.

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@JohnL4
Comment options

Answer selected by JohnL4
Comment options

You must be logged in to vote
1 reply
@littleK0i
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants