Skip to content

Instantly share code, notes, and snippets.

@swazza
Created December 7, 2019 13:43
Show Gist options
  • Save swazza/6347dc7fba19dfa6027413b888999656 to your computer and use it in GitHub Desktop.
Save swazza/6347dc7fba19dfa6027413b888999656 to your computer and use it in GitHub Desktop.
<userGroupProvider>
<identifier>file-user-group-provider</identifier>
<class>org.apache.nifi.authorization.FileUserGroupProvider</class>
<property name="Users File">./auth-conf/users.xml</property>
<property name="Legacy Authorized Users File"></property>
<property name="Initial User Identity 0">{adminemail}</property>
<property name="Initial User Identity 3">CN=nifi-2.nifi-hs.nifi.svc.cluster.local, OU=NIFI</property>
<property name="Initial User Identity 2">CN=nifi-1.nifi-hs.nifi.svc.cluster.local, OU=NIFI</property>
<property name="Initial User Identity 1">CN=nifi-0.nifi-hs.nifi.svc.cluster.local, OU=NIFI</property>
</userGroupProvider>
<accessPolicyProvider>
<identifier>file-access-policy-provider</identifier>
<class>org.apache.nifi.authorization.FileAccessPolicyProvider</class>
<property name="User Group Provider">file-user-group-provider</property>
<property name="Authorizations File">./auth-conf/authorizations.xml</property>
<property name="Initial Admin Identity">{adminemail}</property>
<property name="Legacy Authorized Users File"></property>
<property name="Node Identity 1">CN=nifi-0.nifi-hs.nifi.svc.cluster.local, OU=NIFI</property>
<property name="Node Identity 3">CN=nifi-2.nifi-hs.nifi.svc.cluster.local, OU=NIFI</property>
<property name="Node Identity 2">CN=nifi-1.nifi-hs.nifi.svc.cluster.local, OU=NIFI</property>
<property name="Node Group"></property>
</accessPolicyProvider>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment