snowflake

Read Sql Credentials

Changed on

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.

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

get/api/snowflake/sql-credentials

Request

  • Base URL
    https://api.quadrillion.io (the document declares no server; this is the origin it was published from)
  • URL
    https://api.quadrillion.io/api/snowflake/sql-credentials
  • Auth
    none declared

Response

Successful Response

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

Changes