Manage Resources List¶
You can configure the Databricks SQL connector to manage access control policies for specific databases, tables/views. You can specify lists to include and exclude resources. The connector manages access control policies for resources in the include list and ignores resources in the exclude list. If a resource is in the exclude list, the connector does not manage it, even if it is also in the include list.
Use the following properties to specify comma-separated list of databases and tables/views for which access control should be managed by PolicySync. To manage all resources, leave these properties unspecified. You can also use wildcard characters (*) to match multiple databases, tables, or views.
Example:
- Databases:
test_db1,test_db2*.sales*
- Tables/Views:
test_db1.table1,test_db2*.table2,sales*.view*
Setup¶
Warning
- Values are case-sensitive.
- Provide fully qualified names for databases, tables/views. E.g.
test_db1.table1
- Replace the example values with your actual resource names.
-
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 -
Set the following properties to enable the connector to manage the permissions for databases, tables/views, and other resources in the Databricks SQL:
-
For excluding resources, set the following properties:
-
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 SQL.
-
Click on the icon or the Account Name to modify the settings.
-
On the Edit Application screen, go to Access Management.
-
For including resources, enter the following values in the respective fields:
- Databases to set access control policies:
test_db1
- Tables to set access control policies:
test_db1.table1
- Databases to set access control policies:
-
For excluding resources, enter the following values in the respective fields:
- Databases to ignore while setting access control policies:
test_db1
- Tables to ignore while setting access control policies:
test_db1.table1
- Databases to ignore while setting access control policies:
-
Click SAVE to apply the changes.
- Prev topic: Advanced Configuration