Help Center> Host Security Service (Old)> User Guide> Permissions Management> Creating a User and Granting Permissions
Updated on 2023-06-15 GMT+08:00

Creating a User and Granting Permissions

This section describes IAM's fine-grained permissions management for your DEW resources. With IAM, you can:

  • Create IAM users for employees based on the organizational structure of your enterprise. Each IAM user has their own security credentials, providing access to HSS resources.
  • Grant only the permissions required for users to perform a task.
  • Entrust a HUAWEI CLOUD account or cloud service to perform professional and efficient O&M on your HSS resources.

If your HUAWEI CLOUD account does not require individual IAM users, skip this chapter.

This section describes the procedure for granting permissions (see Figure 1).

Prerequisites

Before authorizing permissions to a user group, you need to know which HSS permissions can be added to the user group. Table 1 describes the policy details.
Table 1 System-defined permissions supported by HSS

Role/Policy Name

Description

Role/Policy Type

Dependency

HSS Administrator

HSS administrator, who has all permissions of HSS.

System-defined role

  • This role depends on the Tenant Guest role.

    Tenant Guest: a global role, which must be assigned in the Global project

  • To purchase HSS protection quotas, you must have the ECS ReadOnlyAccess and BSS Administrator roles.
    • ECS ReadOnlyAccess: read-only access permission for the ECS. This is a system policy.
    • BSS Administrator: a system role, which is the administrator of the billing center (BSS) and has all permissions for the service.

HSS FullAccess

Full permissions for HSS

System-defined policy

To purchase HSS protection quotas, you must have the BSS Administrator role.

BSS Administrator: a system role, which is the administrator of the billing center (BSS) and has all permissions for the service.

HSS ReadOnlyAccess

Read-only permissions for HSS

System-defined policy

None

Process Flow

Figure 1 Process for granting permissions
  1. Creating a User Group and Assigning Permissions.

    Create a user group on the IAM console and grant the user group the HSS Administrator permission for HSS.

  2. Create an IAM user.

    Create a user on the IAM console and add the user to the created group.

  3. Log in and verify permissions.

    Log in to the HSS console by using the created user, and verify that the user only has read permissions for HSS.

    In Service List on the HUAWEI CLOUD console, select any other services (for example, there is only the HSS Administrator policy). If a message indicating that the permission is insufficient is displayed, the HSS Administrator permission takes effect.