ExternalBrowserAuth
relationalai.config.connections.snowflake
Configure Snowflake access using browser-based sign-in.
Use this authenticator when you sign in to Snowflake via an interactive
browser flow (for example, when your account uses SSO). When loading from a
config dict or file, set authenticator="externalbrowser".
Instantiating this class is optional; you can also pass an equivalent dict to
create_config.
Parameters
Section titled “Parameters”
(accountstr) - Snowflake account identifier.
(warehousestr) - Snowflake warehouse name.
(userstr) - Snowflake username.
Examples
Section titled “Examples”Create a programmatic config using this authenticator class:
>>> from relationalai.config import Config, ExternalBrowserAuth>>> cfg = Config(connections={... "sf": ExternalBrowserAuth(... account="my_account",... warehouse="my_warehouse",... user="my_user",... )... })Create a programmatic config using a plain dict (no authenticator import):
>>> from relationalai.config import Config>>> cfg = Config(connections={... "sf": {... "type": "snowflake",... "authenticator": "externalbrowser",... "account": "my_account",... "warehouse": "my_warehouse",... "user": "my_user",... }... })This authenticator requires an interactive browser session.
Inheritance Hierarchy
Section titled “Inheritance Hierarchy”Used By
Section titled “Used By”config > connections > snowflake └── SnowflakeAuthenticator
Referenced By
Section titled “Referenced By”RelationalAI Documentation └── Build With RelationalAI └── Understand how PyRel works > Configure PyRel └── Configure snowflake auth └── Configure external browser authentication