AuthScheme
The authentication scheme used. Accepted entries are PersonalAccessToken, AzureServicePrincipal.
Possible Values
PersonalAccessToken, AzureServicePrincipalData Type
string
Default Value
"PersonalAccessToken"
Remarks
The driver supports the following authentication mechanisms. See the Getting Started chapter for authentication guides.
- PersonalAccessToken: Set this to authenticate with Databricks' access token.
- AzureServicePrincipal: Set this along with AzureTenantId, AzureClientId, AzureClientSecret, AzureSubscriptionId, AzureResourceGroup and AzureWorkspace to authenticate with the Azure Service Principal. You should follow the instructions in https://docs.microsoft.com/en-us/azure/databricks/dev-tools/api/latest/aad/service-prin-aad-token#--provision-a-service-principal-in-azure-portal to register an AzureAD application(client), and then follow the instructions in https://docs.microsoft.com/en-us/azure/role-based-access-control/role-assignments-portal?tabs=current to make sure that the service principal is assigned the Contributor or Owner role on the target Databricks workspace resource in Azure.