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

4 REPLIES 4

Debayan
Esteemed Contributor III

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

Kaniz_Fatma
Community Manager
Community Manager

Hi @Pat Sienkiewicz​ , We haven’t heard from you on the last response from @Debayan Mukherjee​ , and I was checking back to see if his suggestions helped you.

Or else, If you have any solution, please do share that with the community as it can be helpful to others.

Also, Please don't forget to click on the "Select As Best" button whenever the information provided helps resolve your question.

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