Add local users and groups
The procedures in this topic explain how you can create users and user groups in Portworx Backup Keycloak and view them in Portworx Backup User Management of Portworx Backup web console.
Add users and user groups
Using the Portworx Backup Keycloak, you can add users and user groups in Portworx Backup. Additionally, when you integrate your OIDC provider into the Portworx Backup, all users and user groups that exist in your OIDC are added to the Portworx Backup. To view the added users and/or groups you have to navigate to Portworx Backup User Management module of Portworx Backup web console.
-
If you have integrated an external authorization provider in Portworx Backup Keycloak, then you need not create local users and groups unless required.
-
Do not delete users and user groups that you added in the Keycloak.
Add users
To add users through Portworx Backup Keycloak:
-
Login to Portworx Backup Keycloak using the infrastructure administrator credentials.
-
In the Keycloak home page, select Administration Console.
-
From the Master > Manage menu, select Users.
-
In the Users page, click Add User:
-
In the Create user page, enter the following fields:
- Required user actions
- Username
- Email verified
- First Name
- Last Name
- Groups
-
Click Join Groups if you want to make this user part of an existing group. Select the required group and click Join.
noteUser's first name, last name, and email are mandatory for successful login.
-
Click Create.
View users in Portworx Backup User Management
All users that you added in the Portworx Backup Keycloak automatically appear in the User Management.
To view the user:
-
In the home page, in the bottom of left navigation pane, click User Profile > User Management.
In the User > Users tab, you can see all the users you have added through PXB Keycloak web console:
Add user groups
To add user groups using Portworx Backup Keycloak:
-
Follow steps 1 and 2 in the above procedure to login to the Portworx Backup Keycloak.
-
From the Master > Manage menu, select Groups.
-
In the Groups page, click Create group.
-
In the Create a group window and in the Name text box, enter a user group name.
-
Click Create.
After creating a user group, you can edit it to change the group name, add group attributes, map existing roles to the group, and members to the group.
View user groups in Portworx Backup User Management
The user groups you added using the Portworx Backup Keycloak automatically appear in the Portworx Backup web console. To view the user groups in the Portworx Backup web console:
-
From the home page, in the left navigation pane click User Profile > User Management.
-
Navigate to User > Groups tab to view the user groups you have added.