databricks

Read Sql Credentials

Changed on

Issue a short-lived SQL warehouse credential to the caller's kernel.

A running kernel cannot receive an updated environment, so a token injected at kernel start would be pinned to a value that expires within the hour. 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. The session and API-key dependency the rest of this router uses rejects that token, so this route would answer nothing that ever calls it. No browser surface needs a Databricks token either.

get/api/databricks/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/databricks/sql-credentials
  • Auth
    none declared

Response

Successful Response

workspace_hoststring required
http_pathstring required
warehouse_idstring nullable
access_tokenstring required
expires_atstring required
user_agentstring required
catalogstring nullable
schema_namestring nullable

Changes