Azure / azure-cosmosdb-spark

Apache Spark Connector for Azure Cosmos DB
MIT License
202 stars 121 forks source link

Azure AD authentication with Service Principal? #440

Open eliasvakkuri opened 3 years ago

eliasvakkuri commented 3 years ago

I would appreciate some help with this, could not find answers despite heavy Googling...

Is it possible to use an Azure AD Service Principal for authentication with this connector? I would rather not use the database Master Key unless absolutely necessary. If this is possible, an example of the required configuration map and other settings would be very much appreciated.

Thanks!