Do the AzureBlobStorageFileLoader and AzureBlobStorageContainerLoader modules support Service Principal Auth? #9934
Replies: 1 comment
-
🤖 Hi Will, Thank you for reaching out with your question. Currently, the LangChain framework does not support Service Principal Authentication for Azure Blob Storage. The AzureBlobStorageFileLoader and AzureBlobStorageContainerLoader modules in LangChain are designed to connect via a connection string, which requires one of the Storage Account's Access Keys. The implementation of Service Principal Authentication would require additional parameters such as tenant id, client id, and client secret, which are not currently supported in the existing implementation of these modules. I understand that using Access Keys might not be feasible in your organization. Unfortunately, at this time, there are no alternative modules or classes within the LangChain framework that support Service Principal Authentication for Azure Blob Storage. We appreciate your feedback and will consider it for future updates. If you have any other questions or need further clarification, please don't hesitate to ask. Best, SourcesThis response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research. Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant. If you want to continue the conversation, start your reply with @dosu-bot. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to load word documents stored in an Azure Storage account container. using the Access Keys as part of the connection string isn't supported at my organization.
I'm working with:
https://python.langchain.com/docs/integrations/providers/azure_blob_storage
and
https://python.langchain.com/docs/integrations/document_loaders/azure_blob_storage_container
although I'd be open to other options.
The only connection string I've found is one that requires one of the Storage Accounts Access Keys.
Is there a way I can authenticate using a service principal name and secret value to the storage container?
Thanks,
Will
Beta Was this translation helpful? Give feedback.
All reactions