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 Cloudera Private Cloud Base 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 and confirm the action.
  5. After a successful migration, verify that the policies are available in the NiFi Ranger service.