Skip to content

Interface: DatabricksAuthOptions

Databricks profile and credential-source options.

auth is the AuthOptions interface so nested Zod input does not collapse to an anonymous object.

optional accessToken?: string = options.DatabricksOptionsSchema.shape.accessToken

Omit.accessToken


optional accessTokenHeader?: string

Omit.accessTokenHeader


optional accountId?: string = options.DatabricksOptionsSchema.shape.accountId

Omit.accountId


optional auth?: AuthOptions


optional authType?: "databricks-cli" | "oauth-m2m" | "pat" | "app_obo" | "app_sp"

Omit.authType


optional clientId?: string = options.DatabricksOptionsSchema.shape.clientId

Omit.clientId


optional clientSecret?: string = options.DatabricksOptionsSchema.shape.clientSecret

Omit.clientSecret


optional configFile?: string = options.DatabricksOptionsSchema.shape.configFile

Omit.configFile


optional groupId?: string = options.DatabricksOptionsSchema.shape.groupId

Omit.groupId


optional host?: string = options.DatabricksOptionsSchema.shape.host

Omit.host


optional preferUserToMachine?: boolean

Omit.preferUserToMachine


optional profile?: string = options.DatabricksOptionsSchema.shape.profile

Omit.profile


optional requestHeaders?: Record<string, string>

Omit.requestHeaders


optional scopes?: string[]

Omit.scopes


optional target?: "workspace" | "account" | "unified"

Omit.target


optional workspaceId?: string = options.DatabricksOptionsSchema.shape.workspaceId

Omit.workspaceId