Migrating NiFi File-Based authorization to Ranger

You can convert existing file-based provider NiFi 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 users.xml that do not already exist in Ranger.
  2. Select Ranger as a dependency from NiFi configuration.
  3. Restart NiFi.
  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 Ranger service.