Help Center> RES> User Guide> Basic Concepts

Basic Concepts

You can use Identity and Access Management (IAM) to implement refined permission control for Recommender System (RES) resources. Specifically, you can:

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

If the HUAWEI CLOUD account has met your requirements and you do not need to create an independent IAM user for permission control, then you can skip this section. This will not affect other functions of RES.

Account

To use HUAWEI CLOUD, you need to register an account using your mobile number. The account owns your HUAWEI CLOUD resources and has full access permissions for the resources. You can use the account to reset user passwords and assign permissions. Your account receives and pays all bills generated by your IAM users' use of resources. To log in to the HUAWEI CLOUD management console using an account, choose Account Login. For details, see Figure 1.

Figure 1 RES account login

IAM User

IAM users are created by an account to use cloud services. Each IAM user has their own password and access key to access HUAWEI CLOUD using the console or APIs. The users manage cloud resources for the account based on assigned permissions. IAM users do not own resources or make payments. It is the account that controls user permissions and pays the bills. To log in to the HUAWEI CLOUD management console as an IAM user, choose IAM User Login. For details, see Figure 2.

Figure 2 IAM user login

Relationship Between an Account and Its IAM Users

An account and its IAM users are like a parent and children. The account owns the resources and makes payments for IAM users' resource usage. It has full access permissions for these resources. IAM users are created by the account, and only have the permissions granted by the account. The account can modify or cancel the IAM users' permissions at any time. Fees generated by IAM users' use of resources are paid by the account.

Figure 3 Relationship between an account and its IAM users

Identity Credentials

Identity credentials are used for authentication when you or your IAM users access HUAWEI CLOUD through the console or APIs. Identity credentials include the password and access keys, which can be managed in IAM.

  • Password: A common identity credential for logging in to the HUAWEI CLOUD management console or calling HUAWEI CLOUD APIs.
  • Access key: An access key ID/secret access key (AK/SK) pair, which is used only for calling HUAWEI CLOUD APIs. Each access key provides a signature for cryptographic authentication to ensure that access requests are secret, complete, and correct.

User Group

A user group facilitates centralized user management and streamlined permissions management. Users in a user group have the same permissions. IAM users must be added to a user group to obtain the permissions required for accessing specified resources or cloud services in the account. A user can be added to multiple groups, which allows them to inherit different permissions.

The default user group admin has all of the permissions required to use all of the cloud resources. Users in this group can perform operations on all the resources, including but not limited to creating user groups and users, assigning permissions, and managing resources.

Figure 4 Process for creating a user group and user

Currently, RES supports RES Administrator and RES Viewer. RES Administrator has the permission to create, delete, modify, and query all resources. RES Viewer can only view all resources. If both RES Administrator and RES Viewer exist, the account has the Administrator permission.

Authorization

Authorization is the process of granting required permissions for a user to perform a task. After a system or custom policy is assigned to a user group, users in the group inherit the permissions defined by the policy to manage resources. For example, managing RES resources.

Figure 5 Authorization model

Project

A project corresponds to a HUAWEI CLOUD region. Default projects are defined to a group and have physically isolated resources (including computing, storage, and network resources) across regions. Users can be granted permissions in a default project to access all resources in the region associated with the project. If you need more refined access control, create sub-projects under a default project and purchase resources in sub-projects. Then you can assign users the permissions required to access only the resources in the specific sub-projects.

Figure 6 Project isolating model