Migrating 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 Cloudera Private Cloud Base 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.