I understand how to use the Apache Nifi GUI to add new users and enforce policies. I am, however, trying to automate this process so that when I start up my Docker Nifi container, it already has three user groups (essentially an admin, user, and reader). I am using NiPyAPI, but to be honest, I cannot manage to get even a full list of policies to loop through.
I don't use the Registry component as I just need a simple workflow at the moment. If you have a great incentive for it in simple cases, I'm happy to listen.
The specific problem that I'm having is: I cannot figure out a solid list of policies that are available - all the methods and endpoints I can see require you to already know what those are. I can muck around in the GUI and print them all out once I add all the roles to the Admin user, but I feel like there should be a better way to get a consolidated and thorough list of all the options one has.
Any and all advice on getting all these user groups and policies automated (preferably with Python) would be appreciated.
Oh yes, and also, I'm using SSL and not LDAP.