Skip to content

Interface: DatabricksRuntimeAuthClient

Python runtime authentication operations backed by one SDK WorkspaceClient.

readonly host: string

Resolved Databricks workspace URL.


readonly optional principal?: string

Resolved caller identifier when the Python SDK provides one.


readonly optional workspaceId?: string

Resolved workspace identifier when the Python SDK provides one.

authenticate(): Promise<Record<string, string>>

Return fresh authentication headers from the Python SDK.

Promise<Record<string, string>>


token(): Promise<string | undefined>

Return the Python SDK’s directly configured token, when present.

Promise<string | undefined>