Security in IBM®
watsonx.data is based on
roles. A role is a group of permissions that control the actions you can perform in watsonx.data. To perform certain actions and manage
specific sessions in watsonx.data, the user must
also have the appropriate authorization.
watsonx.data Developer
edition
watsonx.data on IBM Software
Hub
About this task
Authorization is granted by assigning a specific role to the user account. Use the Role Based
Access Control feature in watsonx.data to grant
users the access privileges they require for their role.
Procedure
- Log in to the watsonx.data
console.
- From the navigation menu, select Access control. Under the
Infrastructure tab, the different components (Engine, Catalog, Bucket, and
Database) are displayed in the table.
- Click the overflow icon in the components row and then click Manage
access. Alternatively, you can click the Display name of the
component. The selected component page opens.
- Under the Access control tab, click Add
access.
- In the Add access window, provide the following details.
| Field |
Description |
| Name |
You can select individual users or a user group. |
| Role |
Select the role from the drop-down list. You can assign roles based on the component type.
For more information, see Roles and privileges. |
- Click Add. The user is added and assigned the role.
- To change the role that is assigned to a user, complete the following steps:
- Under the Infrastructure tab, click the Display
name of the component in the table.
- The Access control tab for selected component
opens.
- Click the overflow menu for the selected user and then select Change
role.
- In the Change role window, select the role from the drop-down
list.
- Click Save.
- To remove a user for a component, complete the following steps:
Note: An admin of a catalog, bucket, or database or a user in a group with an admin role can remove
their own access to those resources if they have explicit permission.
- Under the Infrastructure tab, click the Display
name of the component in the table.
- The Access control tab for the selected component
opens.
- Click the overflow menu for the selected user and then select
Remove.
- In the Confirm removal window, click
Remove.
Note: When you add a user to watsonx.data
instance and grant that user access control of a pre-defined catalog, that user cannot be
removed.
- To export the resource policies, complete the following steps:
Note: You can export the details to a JSON file.
- Under the Infrastructure tab, select a component and click the
Display name of the component in the table.
- The Access control tab for the selected component opens with
the list of existing resource policies.
- To export the policies, select the required (or all) policies and click the
Export link.
- The Export Users page opens. Specify the file name and click
Export. The file gets downloaded to your machine.
- To import the resource policies, complete the following steps:
Note: You can import JSON files only.
- Under the Infrastructure tab, select a component and click the
Display name of the component in the table.
- The Access control tab for the selected component
opens.
- To import policies, click the Import link. The
Import page opens.
- In the Upload File section, select the file with policies that
you want to upload.
- Click Next. The Validate section
appears. The file that you uploaded is validated and if any invalid data items are found, it gets
displayed in the Invalid data items table with the error description.
- Click Next. The Summary section opens.
Verify and click Add imported users.