Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Co-authored-by: chenxiaoxiong <chenxiaoxiong@huawei.com> Co-committed-by: chenxiaoxiong <chenxiaoxiong@huawei.com>
10 KiB
Creating an IAM User and Assigning DataArts Studio Permissions
- Create IAM users for employees based on your enterprise's organizational structure. Each IAM user will have their own security credentials for accessing DataArts Studio resources.
- Assign users only the permissions required to perform a task.
- Entrust a a cloud platform account or cloud service to perform efficient O&M on your DataArts Studio resources.
If you do not require individual IAM users for permissions management, skip this section.
Background
- Before assigning permissions to a user group, you need to understand the DataArts Studio permission system and select permissions as needed.
Notes and Constraints
- The DARTS User role provides permissions related to instances, workspaces, and dependent services. Workspace roles provide service operation permissions in workspaces.
- IAM provides the following two authorization mechanisms. DataArts Studio supports IAM roles but not IAM policies.
- IAM roles: IAM initially provides a coarse-grained authorization mechanism to define permissions based on users' job responsibilities. Only a limited number of service-level roles are available for authorization. However, traditional IAM roles are not an ideal choice for fine-grained authorization and secure access control.
- IAM policies: A type of fine-grained authorization mechanism that defines permissions required to perform operations on specific cloud resources under certain conditions. This type of authorization is more flexible and meets the principle of least privilege (PoLP).
Procedure
- Create a user group and assign a system role to the group.
Log in to the IAM console using a cloud platform account, create a user group and assign a DataArts Studio system role to the group. For example, the system role can be DARTS Administrator or DARTS User.
For details, see "User Groups and Authorization" > "Creating a User Group and Assigning Permissions" in Identity and Access Management User Guide.
- When configuring DataArts Studio permissions for a user group, enter DARTS in the search box to search for the permissions and select the permissions to be granted to the user group, for example, DARTS User.
- DataArts Studio is a project-level service deployed in specific physical regions. If you select All resources for Scope, the permission takes effect in all projects of all regions. If you select Region-specific projects for Scope, the permission takes effect only for a specified project. When accessing DataArts Studio, the IAM user must switch to the region where they have been assigned the required permissions.
- Create a user and add it to the user group.
Create users on the IAM console and add them to the group created in step 1.
For details, see "IAM Users" > "Creating an IAM User" in Identity and Access Management User Guide.
- Create a custom workspace role for DARTS User, add it as a workspace member, and assign a role to the member.
DataArts Studio workspace roles determine the permissions of DARTS User in a workspace. There are five preset roles: admin, developer, deployer, operator, and viewer. If these preset roles can meet your requirements, you do not need to create a custom workspace role. Instead, you can add the user as a workspace member and assign a preset role to the member. Otherwise, you need to create a custom role, add the users as a workspace member, and assign the custom role to the member. For details about how to create a custom workspace role, see (Optional) Defining a Workspace Role. For details about how to add a workspace member and assign a role to the member, see Adding a Member and Assigning a Role.
For details about the permissions of the roles, see "DataArts Studio Permissions" in Service Overview.
- Log in to the console and verify permissions.
Log in to the console using the created user and verify permissions of the user.
- Choose Service List > DataArts Studio. Locate a DataArts Studio instance and click Access. Check whether the workspace list is displayed.
- Access a service module (for example, Management Center) to which your current user has been added and check whether you can perform the operations allowed for the workspace role assigned to you.
