apache / libcloud

Apache Libcloud is a Python library which hides differences between different cloud provider APIs and allows you to manage different cloud resources through a unified and easy to use API.
https://libcloud.apache.org
Apache License 2.0
2.04k stars 925 forks source link

Authenticate with Azure Ad for Provider AZURE_BLOBS #1658

Open brookewhite9 opened 2 years ago

brookewhite9 commented 2 years ago

Feature Request

Add the ability to authenticate Azure Blob Storage Accounts via Azure AD service principal secrets and certificates. This feature would be following this feature from jclouds (https://issues.apache.org/jira/browse/JCLOUDS-1558) It would be using the rest api to access azure ad

For more information on contributing, please see https://libcloud.readthedocs.io/en/latest/development.html

c-w commented 2 years ago

We tend to avoid including vendor SDKs in this project and instead integrate the REST APIs directly. As such this would be a larger effort.

brookewhite9 commented 2 years ago

Could we not use OAuth to authenticate via REST? This would allow the service principal to be authenticated without the vendor SDK, correct? We could not useDefaultAzureCredential() and just use the REST API instead