Returns a lazy Credentials that resolves to the first configured
authentication strategy on first use.
Strategies are tried in this order:
PAT (pat).
OAuth M2M (oauth-m2m).
Databricks CLI (databricks-cli).
When the resolved profile contains a non-empty group ID, strategies that
cannot assume a group are skipped. Explicitly selecting such a strategy
through authType returns an error.
When no profile is provided via options.profile, the profile is
resolved on first use from the default config file (~/.databrickscfg)
and environment variables.
Returns a lazy Credentials that resolves to the first configured authentication strategy on first use.
Strategies are tried in this order:
pat).oauth-m2m).databricks-cli).When the resolved profile contains a non-empty group ID, strategies that cannot assume a group are skipped. Explicitly selecting such a strategy through
authTypereturns an error.When no profile is provided via
options.profile, the profile is resolved on first use from the default config file (~/.databrickscfg) and environment variables.