Coffee77
Honored Contributor III

Not only is that possible but totally recommendable for automation purposes. You can create or update those clusters via Databricks CLI with cluster properties configured with proper JSON file. Take a look to the sample code I am using to update a cluster with a service principal account. Notice reference to service principal ID in single_user_name property:

Automation Cluster with Service PrincipalAutomation Cluster with Service Principal

By the way, I'm about to publish a video in my youtube channel about deployment with DABs plus other resources like this, not already included as far as I know. 


Lifelong Solution Architect Learner | Coffee & Data