snowflake

Read Sql Credentials

Issue a short-lived Snowflake OAuth token to the caller's kernel.

A running kernel cannot receive an updated environment, and Snowflake's access tokens are minutes long, so a token injected at kernel start would be dead before the first query. The kernel calls this per connection instead; nothing durable is written into its environment.

Kernel-only, because a kernel holds an internal principal token and no cookie. No browser surface needs a Snowflake token either.

get/api/snowflake/sql-credentials

Response

Successful Response

accountstring required
auth_modestring
access_tokenstring required
expires_atstring required
expires_ininteger required
rolestring nullable
warehousestring nullable
databasestring nullable
schema_namestring nullable

Changes

Changed in 1 of the 16 revisions of this API.1