Migrate 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.
- Create any users and groups from the NiFi users.xml that do not already exist in Ranger.
- Select Ranger as a dependency from NiFi configuration.
- Restart NiFi.
- Select Migrate File-based Authorizations to Ranger from the Actions drop-down. Confirm the action.
- After a successful migration, verify that the policies are available in the NiFi Ranger service.