Managing users and roles for IBM Optim Data Privacy
IBM® Optim Data Privacy uses role-based access control (RBAC) to manage permissions across the platform. Roles are defined in Keycloak and enforced through JWT-based authentication.
Administrators can manage user accounts and group memberships using the IBM Optim user interface.
- LDAP
- SAML
- OIDC
- Kerberos
Default user roles
| Role | Description |
|---|---|
optim-admin |
An administrator user with full system access. Administrators can manage user provisioning. They can perform every workflow-related action and can interact with all resources in the system. |
optim-user |
A basic user who can creates and run workflows. Users can perform every workflow-related
action, but:
|
Managing users in Keycloak
- Navigate to the Keycloak administrator page and log in as the Keycloak administrator. The URL and administrator details are defined in the system's .env configuration file.
- Create a user for IBM Optim Data Privacy:
- From the Manage realms menu, choose Optim, then select .
- Type a username, provide any of the other optional information, then click Create.
- Click the Credentials tab, then click Set password.
- Select and choose either admin-group or user-group.
- Create an organization and add users:
- Select . Type the organization name, domain, and description, then click Save.
- Click Attribute and add an account-id attribute with a unique or random UUID value (such as data-ai-01/75a10144-c57a-4c0a-889c-22044d012a9a).
- Click Members and then choose Add realm user. Choose the user that you want to add to the organization.
For more information about using Keycloak to manage users, see the Keycloak documentation.
Configuring multifactor authentication (MFA)
Multifactor authentication (MFA) is available but not enabled by default. Administrators can configure MFA policies in Keycloak to require users to provide a second form of verification when they log in.
To enforce MFA for all users globally, configure an OTP authentication flow in Keycloak. For instructions, see Two-factor authentication with OTP in the Red Hat build of Keycloak documentation.
To enforce MFA for specific users only, apply a required action directly to individual user accounts:
- In the Keycloak Admin Console, click Users in the left navigation.
- Search for and select the user.
- On the Details tab, locate the Required User Actions field.
- Select Configure OTP and save your changes.
The next time that user logs in, Keycloak requires them to configure an authenticator app.
Managing users in the IBM Optim UI
To manage users by using the IBM Optim UI:
- Log in to IBM Optim Data Privacy as an administrator.
- Open the Access control tab. From this page, you can manage users and groups:
- View users
- To view users:
- Review the Users panel to view registered users and groups.
- Optionally, filter by role or group.
- Add a user
- To add a user:
- Click Add user.
- Enter the new username and email address, then assign a role.
- Optionally, assign the new user to a group.
- Assign the new user to an organization.
- Edit user details
- To edit a user:
- Select a user and click Edit.
- Update the user's role, group membership, or organization.
- Delete a user
- To delete a user:
- Select the user and click Delete.
- Confirm deletion.