-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DECO-2485] Handle Azure authentication when WorkspaceResourceID is p…
…rovided (#328) ## Changes Handle Azure authentication when WorkspaceResourceID is provided Get token for the correct subscription ## Tests * Created Unit tests * Manually listed workspace cluster in the following scenarios: * User with wrong default tenant. No WorkspaceResourceID provided: Fail (expected). WARN log emitted. * User with wrong default tenant. WorkspaceResourceID provided: Succeed * User with no subscription. No WorkspaceResourceID provided: Succeed. WARN log emitted. * User with no subscription. WorkspaceResourceID provided: Succeed (fallback mode, expected). - [X] `make test` passing - [X] `make fmt` applied - [x] relevant integration tests applied https://github.com/databricks/eng-dev-ecosystem/actions/runs/6038981442
- Loading branch information
1 parent
aaabc34
commit 986d1d9
Showing
2 changed files
with
52 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters