#[non_exhaustive]pub enum DatabricksConfigKey {
Show 13 variants
Host,
Token,
ClientId,
ClientSecret,
AccountId,
AzureResourceId,
Scope,
ConfigFile,
ConfigProfile,
AuthType,
OidcTokenEnv,
OidcTokenFilepath,
Client(ClientConfigKey),
}Expand description
Configuration keys for DatabricksBuilder.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Host
Databricks workspace host URL.
Supported keys: databricks_host, host
Token
Personal Access Token or static token.
Supported keys: databricks_token, token
ClientId
OAuth M2M service principal client ID.
Supported keys: databricks_client_id, client_id
ClientSecret
OAuth M2M service principal client secret.
Supported keys: databricks_client_secret, client_secret
AccountId
Account ID (for account-level operations).
Supported keys: databricks_account_id, account_id
AzureResourceId
Azure resource ID; presence triggers Azure MSI fallback path.
Supported keys: databricks_azure_resource_id, azure_resource_id
Scope
OAuth scope override (defaults to unity-catalog).
Supported keys: databricks_oauth_scope, oauth_scope
ConfigFile
Path to a non-default .databrickscfg file.
Supported keys: databricks_config_file, config_file
ConfigProfile
Profile name within .databrickscfg.
Supported keys: databricks_config_profile, config_profile, profile
AuthType
Force a specific auth type (e.g. pat, oauth-m2m, env-oidc, file-oidc).
Supported keys: databricks_auth_type, auth_type
OidcTokenEnv
Name of the environment variable holding an OIDC token.
Defaults to DATABRICKS_OIDC_TOKEN.
Supported keys: databricks_oidc_token_env, oidc_token_env
OidcTokenFilepath
File path to an OIDC token.
Supported keys: databricks_oidc_token_filepath, oidc_token_filepath
Client(ClientConfigKey)
Delegated HTTP client config keys.
Trait Implementations§
Source§impl AsRef<str> for DatabricksConfigKey
impl AsRef<str> for DatabricksConfigKey
Source§impl Clone for DatabricksConfigKey
impl Clone for DatabricksConfigKey
Source§fn clone(&self) -> DatabricksConfigKey
fn clone(&self) -> DatabricksConfigKey
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for DatabricksConfigKey
Source§impl Debug for DatabricksConfigKey
impl Debug for DatabricksConfigKey
Source§impl<'de> Deserialize<'de> for DatabricksConfigKey
impl<'de> Deserialize<'de> for DatabricksConfigKey
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for DatabricksConfigKey
Source§impl FromStr for DatabricksConfigKey
impl FromStr for DatabricksConfigKey
Source§impl Hash for DatabricksConfigKey
impl Hash for DatabricksConfigKey
Source§impl PartialEq for DatabricksConfigKey
impl PartialEq for DatabricksConfigKey
Source§fn eq(&self, other: &DatabricksConfigKey) -> bool
fn eq(&self, other: &DatabricksConfigKey) -> bool
self and other values to be equal, and is used by ==.Source§impl Serialize for DatabricksConfigKey
impl Serialize for DatabricksConfigKey
impl StructuralPartialEq for DatabricksConfigKey
Auto Trait Implementations§
impl Freeze for DatabricksConfigKey
impl RefUnwindSafe for DatabricksConfigKey
impl Send for DatabricksConfigKey
impl Sync for DatabricksConfigKey
impl Unpin for DatabricksConfigKey
impl UnsafeUnpin for DatabricksConfigKey
impl UnwindSafe for DatabricksConfigKey
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.