cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

UC - Service Principal/Terraform

Pat
Honored Contributor III

Hi,

do you know if there is a way to create Unity Catalog metastore using Service Principal?

Here I can see that for creating account-level resources we need to provide a user and password (https://registry.terraform.io/providers/databricks/databricks/latest/docs#authenticating-with-hostname-username-and-password)

Is there a way to create a password for the SP? I thought it would be possible to create PAT, but I guess it's not possible on the account level.

1 ACCEPTED SOLUTION

Accepted Solutions

Pat
Honored Contributor III

This is supported right now in the Azure, but not yet in AWS, but there is plan for AWS support as well.

View solution in original post

3 REPLIES 3

Debayan
Databricks Employee
Databricks Employee

Hi Pat, Thanks for reaching out to community.databricks.com.

yes, service principles can be used for Unity Catalog. https://docs.databricks.com/data-governance/unity-catalog/index.html#identity-management-for-unity-c...

Also for other Databricks identities and roles, please refer : https://docs.databricks.com/administration-guide/users-groups/index.html

For managing groups users, and service principles,. please refer below:

https://docs.databricks.com/administration-guide/users-groups/users.html

Pat
Honored Contributor III

Hi,

this doesnt answer my question. I will have to revisit this. When I checked this first time I couldnt find the way to provision Unity Catalog with terraform using SP

Pat
Honored Contributor III

This is supported right now in the Azure, but not yet in AWS, but there is plan for AWS support as well.

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group