Configuring the initial admin user
When you set up a secured NiFi instance for the first time, you must manually designate an "Initial Admin Identity". This initial admin user is granted access to the UI and given the ability to create additional users, groups, and policies.
NiFi requires an initial admin user which will be given sufficient privileges to configure other users and policies. When configuring an authentication method other than single user authentication, an initial admin user is required.
Specify the initial admin user with the following YAML snippet:
spec:
security:
initialAdminIdentity: [***INITIAL ADMIN IDENTITY***]
Replace [***INITIAL ADMIN IDENTITY***] with a username, LDAP distinguished name (DN), or a Kerberos principal.