Support Azure CLI authentication #6730
Labels
kind/feature
Categorizes issue or PR as related to a new feature.
lifecycle/rotten
Denotes an issue or PR that has aged beyond stale and will be auto-closed.
What would you like to be added:
Authentication through Azure CLI credentials, similar to https://github.com/kubernetes/autoscaler/pull/4295/files.
Note that that part of autoscaler used to share the code with this cloud-provider-azure. Thus, required changes here should be similar to that PR.
Why is this needed:
This additional authentication method should ease the development process for projects that use cloud-provider-azure, such as Cluster Autoscaler.
In fact, from the above PR, it already exists in autoscaler, but through forking means. Other components would benefit from that as well if we add it here. Not to mention better code organization between Cluster Autoscaler and cloud-provider-azure (i.e., we don't have to do surgery on the code like this and can rely more on abstraction).
In addition, newer
DefaultAzureCredential()
seems to include this auth method as well: https://github.com/Azure/azure-sdk-for-go/blob/main/sdk/azidentity/README.md#defaultazurecredential. Maybe that's being used for track2 already?The text was updated successfully, but these errors were encountered: