pub struct DatabricksAuthOptions {Show 13 fields
pub profile: Option<String>,
pub host: Option<String>,
pub account_id: Option<String>,
pub workspace_id: Option<String>,
pub config_file: Option<String>,
pub client_id: Option<String>,
pub group_id: Option<String>,
pub auth_type: Option<String>,
pub scopes: Option<Vec<String>>,
pub target: Option<String>,
pub cache_dir: Option<String>,
pub auth: Option<AuthOptions>,
pub prefer_user_to_machine: bool,
}Expand description
Configuration shared by the generated Node and Python auth bindings.
Fields§
§profile: Option<String>Explicit profile name; explicit choices are never remapped to another profile.
host: Option<String>Override the workspace or account host.
account_id: Option<String>Account identifier for account-scoped authentication.
workspace_id: Option<String>Workspace identifier for unified authentication.
config_file: Option<String>Override the Databricks CLI configuration file.
client_id: Option<String>Override the OAuth application identifier.
group_id: Option<String>Optional group role requested by M2M token generation.
auth_type: Option<String>Explicit Databricks authentication strategy.
scopes: Option<Vec<String>>Override profile scopes; omission preserves profile/default scope resolution.
target: Option<String>Target kind: workspace, account, or unified.
cache_dir: Option<String>Override the directory containing the shared CLI token cache.
auth: Option<AuthOptions>Shared lifecycle configuration; omission uses AuthOptions::default().
prefer_user_to_machine: boolWhether implicit M2M defaults should select one matching U2M profile.
Trait Implementations§
Source§impl Clone for DatabricksAuthOptions
impl Clone for DatabricksAuthOptions
Source§fn clone(&self) -> DatabricksAuthOptions
fn clone(&self) -> DatabricksAuthOptions
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more