Enabling All Privileges for API Token Users¶
Privacera's Unity Catalog connector supports granting ALL PRIVILEGES on a catalog to an API token user, rather than limiting them to a default set of permissions. By default, the avoid.token.user.allPrivileges
property is set to true
, which restricts the privileges assigned to the token user. To allow the token user to be granted ALL PRIVILEGES, set this property to false
.
Tip
When the property is set to true
, the API token user is granted a limited set of privileges on the Catalog: Use Catalog
, Create Schema
, Use Schema
, Create Table
, Select
, Modify
, and Create Function
.
Setup¶
Note
This setting is enabled by default to provide only a limited set of privileges to API token users. You must explicitly override it to grant ALL PRIVILEGES.
-
Navigate to Settings → Applications in the Self-Managed Portal.
-
From the list of Connected Applications, select Databricks Unity Catalog.
-
Click on the application name or the icon to edit. Then, go to the Access Management tab.
-
Under Add New Custom Properties, add the following property:
Bash -
Click SAVE to apply the changes.
-
SSH to the instance where Privacera Manager is installed.
-
Run the following command to open the
.yml
file to be edited.If you have multiple connectors, then replace
instance1
with the appropriate connector instance name.Bash -
Add or update the following property:
YAML -
Once the properties are configured, run the following commands to update your Privacera Manager platform instance:
Step 1 - Setup which generates the helm charts. This step usually takes few minutes.
Step 2 - Apply the Privacera Manager helm charts. Step 3 - Post-installation step which generates Plugin tar ball, updates Route 53 DNS and so on.
-
In PrivaceraCloud portal, navigate to Settings -> Applications.
-
On the Connected Applications screen, select Databricks Unity Catalog.
-
Click the pen icon or the Account Name to modify the settings.
-
On the Edit Application screen, go to Access Management -> ADVANCED tab.
-
Under Add New Custom Properties, add the following:
Bash -
Click SAVE to apply the changes.
Info
When this property is set to false
, the API token user is granted full catalog-level privileges, allowing comprehensive data access and management within Unity Catalog.
- Prev topic: Advanced Configuration