Skip to content

Function: databricksAuthOptions()

databricksAuthOptions(options): DatabricksAuthOptions

Convert flat CLI fields into the Node auth package’s nested options.

string = DatabricksAuthOptionsSchema.shape.accountId

"databricks-cli" | "oauth-m2m" | "pat" | "app_obo" | "app_sp" = DatabricksAuthOptionsSchema.shape.authType

string = DatabricksAuthOptionsSchema.shape.clientId

string = DatabricksAuthOptionsSchema.shape.configFile

string = DatabricksAuthOptionsSchema.shape.groupId

string = DatabricksAuthOptionsSchema.shape.host

number = AuthOptionsSchema.shape.lockTimeoutMs

number = AuthOptionsSchema.shape.loginTimeoutMs

boolean = ...

string = DatabricksAuthOptionsSchema.shape.profile

number = AuthOptionsSchema.shape.refreshBufferMs

string[] = ...

"workspace" | "account" | "unified" = DatabricksAuthOptionsSchema.shape.target

string = DatabricksAuthOptionsSchema.shape.workspaceId

DatabricksAuthOptions