You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Skip auth-steering env vars gap-filling a selected profile
The final loader in ProfileAuthLoaders was the SDK's config.ConfigAttributes,
which re-reads every still-empty attribute from the environment after the
profile is loaded. That let host/routing/auth-steering env vars (auth_type,
discovery_url, audience, cloud, workspace_id, account_id) shadow an explicitly
selected profile, e.g. DATABRICKS_AUTH_TYPE=basic forcing basic auth over a
profile's PAT (#5096).
Replace it with resolveAuthGapFromEnv, a filtered env loader that skips
nonAuthEnvSkipAttrs but still gap-fills real auth attrs, so a complete
conflicting env auth method surfaces as an error rather than being silently
dropped. Add an end-to-end ProfileAuthLoaders test covering the steering-env
repro.
0 commit comments