Use Service Principal Id for Authorization in Databricks Clusters with FGAC¶
By Default Privacera use display name for Service Principal, if you want to use Service Principal Id then perform following steps:
- Login to Databricks workspace.
- In the left-hand sidebar, click on Compute.
- Choose the cluster where you want to configure the Service Principal Id.
- Click on Edit -> Advanced options.
- Click on the Spark tab.
- Add below property in Spark config
Bash - Click on Confirm.
- Click on Start, or if the cluster is running, click on Restart.
You will have to create the policies for the Service Principal Id
- For example, if your Service Principal Id is
12345678-1234-1234-1234-123456789012
, then create the policies for12345678-1234-1234-1234-123456789012
instead ofdisplay_name
.
If you delete the Service Principal and recreate it, then the ID changes. So make sure to update your policies with the new ID
- Prev topic: Advanced Configuration