latestOpenAPI 3.1.02026-08-19373257348.2 KB

ee473d0e84e0

databricks

Read Sql Credentials

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.

Kernel-only, because a kernel 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

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