Function: databricksAuthOptions()
databricksAuthOptions(
options):DatabricksAuthOptions
Convert flat CLI fields into the Node auth package’s nested options.
Parameters
Section titled “Parameters”options
Section titled “options”accountId?
Section titled “accountId?”string = DatabricksAuthOptionsSchema.shape.accountId
authType?
Section titled “authType?”"databricks-cli" | "oauth-m2m" | "pat" | "app_obo" | "app_sp" = DatabricksAuthOptionsSchema.shape.authType
clientId?
Section titled “clientId?”string = DatabricksAuthOptionsSchema.shape.clientId
configFile?
Section titled “configFile?”string = DatabricksAuthOptionsSchema.shape.configFile
groupId?
Section titled “groupId?”string = DatabricksAuthOptionsSchema.shape.groupId
string = DatabricksAuthOptionsSchema.shape.host
lockTimeoutMs
Section titled “lockTimeoutMs”number = AuthOptionsSchema.shape.lockTimeoutMs
loginTimeoutMs
Section titled “loginTimeoutMs”number = AuthOptionsSchema.shape.loginTimeoutMs
preferUserToMachine
Section titled “preferUserToMachine”boolean = ...
profile?
Section titled “profile?”string = DatabricksAuthOptionsSchema.shape.profile
refreshBufferMs
Section titled “refreshBufferMs”number = AuthOptionsSchema.shape.refreshBufferMs
scopes
Section titled “scopes”string[] = ...
target?
Section titled “target?”"workspace" | "account" | "unified" = DatabricksAuthOptionsSchema.shape.target
workspaceId?
Section titled “workspaceId?”string = DatabricksAuthOptionsSchema.shape.workspaceId
Returns
Section titled “Returns”DatabricksAuthOptions