cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
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
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
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.

Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.