You can set up native authentication for SaltStack Config in the user interface using the Local Users workspace. Local users are users whose username and password are natively stored in SaltStack Config. You can use this workspace to manage local user settings, such as user passwords. You can also use this workspace to create or clone local users.
Roles in SaltStack Config give you the ability to create specific management roles, and then add the appropriate users to those roles. Roles control which minions each user can view and which operations a user can perform in the user interface.
By default, a local user is associated with each Salt master key used for authentication.
Creating a Local User
Only superusers, or users with Create user permission, are able to create local users. Usernames are not case-sensitive.
To create a new user:
- Click Administration > Local Users on the side menu. Then, click the Create button.
- Enter a username and password, and select any roles you want to add the user to.
Note: All new users are added to the User role by default.
- Click Save.
- (Optional) To clone a user, under Administration > Local Users, select the user you want to clone and click Clone. Enter a username and password, and select any roles you want to add the user to and click Save.
After creating your local users, you can change user settings such as the root password under Administration > Local Users and selecting the user you want to update.