Hotfix - Azure authentication failure
A last-minute change before release of 2.1.0 introduced a critical bug in azure_auth_core.py.
This caused all azure authentication to fail. It would also cause init_notebook()
to fail if the user had any Key Vault secrets referenced in their msticpyconfig.yaml.
Thanks to @FlorianBracq for spotting this independently (and before us) and submitting a PR with the fix.
The PR below is essentially the same fix as Florian's with a subtle change to allow an EnvironmentCredential of None to appear in the list of creds sent to ChainedTokenCredential. This is to cover an edge case where EnvironmentCredential is requested but the required environment variables are not set.
What's Changed
- [fix] bug in call to ChainTokenCredential breaks all authentication by @ianhelle in #505
- Rolling back change on _build_chained_creds by @FlorianBracq in #504
Full Changelog: v2.1.1...v2.1.2