Can connection details from secrets.toml be used for Snowflake connection when an oauth connection is required? I.e. is there a way to feed in the token to st.connection(“snowflake”)? Something like: st.connection("snowflake", token=token)
The token is not static and has to be fetched from a server.
Ahem, I’ll show myself out. st.connection("snowflake", token=token)
already works nicely as long as you remember to add authenticator = 'oauth'
in the secrets.toml file.
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.