Hey everyone
I've been working with Azure DevOps and VSTS repositories, and I can relate to the challenges of connecting them securely. thushar, I understand your concern about using a PAT token for production environments. Fortunately, there is indeed a way to connect to VSTS DevOps repo using a service principal.
Instead of relying on a PAT token, you can leverage a service principal authentication method. Service principals provide a more secure approach for accessing resources in Azure. By creating a service principal and granting it appropriate permissions, you can establish a connection to your VSTS source control from your Databricks notebook.
To get started, you'll need to create a service principal in Azure Active Directory (AAD) and assign it the necessary permissions to access your VSTS repository. Once you have the service principal credentials, you can use them to authenticate and interact with the VSTS repository directly from your notebook.
Remember to carefully manage and secure the service principal credentials, as provide access to your resources. Regularly rotate and monitor the credentials to maintain a high level of security.