Migrate NiFi Registry File-Based Authorization to Ranger

You can convert existing file-based provider NiFi Registry policies to Ranger provider policies.

The following steps assume that the Ranger service is installed in the CDP-DC cluster.

  1. Create any users and groups from the NiFi Registry users.xml that do not already exist in Ranger.
  2. Select Ranger as a dependency from NiFi Registry configuration.
  3. Restart NiFi Registry.
  4. Select Migrate File-based Authorizations to Ranger from the Actions drop-down. Confirm the action.
  5. After a successful migration, verify that the policies are available in the NiFi Registry Ranger service.