Skip to content

Function: resolveProfile()

resolveProfile(options?): { accountId?: string; authType: "databricks-cli" | "oauth-m2m" | "pat" | "app_obo" | "app_sp"; host?: string; name: string; principal: string; target: "workspace" | "account" | "unified"; workspaceId?: string; } | null

Resolve one configured profile without exposing credentials, or null when none exists.

DatabricksAuthOptions = {}

{ accountId?: string; authType: "databricks-cli" | "oauth-m2m" | "pat" | "app_obo" | "app_sp"; host?: string; name: string; principal: string; target: "workspace" | "account" | "unified"; workspaceId?: string; } | null