v4

latestOpenAPI 3.1.02026-08-08349225311.7 KB
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.

get/api/databricks/sql-credentials

Response

Successful Response

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