Permissions Management
If you need to assign different permissions to employees in your enterprise to access your CS resources, IAM is a good choice for fine-grained permissions management. IAM provides identity authentication, permissions management, and access control, helping you secure access to your HUAWEI CLOUD resources.
With IAM, you can use your HUAWEI CLOUD account to create IAM users for your employees, and assign permissions to the users to control their access to specific resource types. For example, some software developers in your enterprise need to use CS resources but should not be allowed to delete the resources or perform any other high-risk operations. In this scenario, you can create IAM users for the software developers and grant them only the permissions required for using CS resources.
If your HUAWEI CLOUD account does not require individual IAM users for permissions management, skip this section.
IAM can be used free of charge. You pay only for the resources in your account. For more information about IAM, see the IAM Service Overview.
Supported System Policies
By default, new IAM users do not have permissions assigned. You need to add a user to one or more groups, and attach permissions policies or roles to these groups. Users inherit permissions from the groups to which they are added and can perform specified operations on cloud services based on the permissions.
- Roles: A type of coarse-grained authorization mechanism that defines permissions related to user responsibilities. This mechanism provides only a limited number of service-level roles for authorization. When using roles to grant permissions, you need to also assign other roles on which the permissions depend to take effect. However, roles are not an ideal choice for fine-grained authorization and secure access control.
- Policies: A type of fine-grained authorization mechanism that defines permissions required to perform operations on specific cloud resources under certain conditions. This mechanism allows for more flexible policy-based authorization, meeting requirements for secure access control. For example, you can grant CS users only the permissions for managing a certain type of cloud servers. For the API actions supported by CS, see Permissions Policies and Supported Actions.
Table 1 System-defined roles and policies supported by CS Role/Policy Name
Description
Type
CS FullAccess
Administrator permissions for CS. Users granted these permissions can perform all operations on CS resources.
System-defined policy
CS CommonOperations
Common user permissions for CS. Users granted these permissions can create, delete, and modify jobs and templates.
System-defined policy
CS ReadOnlyAccess
Read-only permissions for CS. Users granted these permissions can only view CS jobs, templates, and exclusive clusters.
System-defined policy
CS Tenant Admin
Administrator permissions for CS. Users granted these permissions can perform all operations on CS resources.
Permissions include:
- Creating, deleting, and modifying CS jobs, templates, and exclusive clusters
- Allocating available clusters and quotas to users with permissions of the CS CommonOperations policy
- Viewing all user jobs on exclusive clusters
System-defined role
CS Tenant User
Permissions: Creating, deleting, and modifying jobs and templates
System-defined role
Table 2 lists the common operations supported by each system-defined policy or role of CS. Select the policies or roles as required.
| Operation | CS FullAccess | CS CommonOperations | CS ReadOnlyAccess | CS Tenant Admin | CS Tenant User |
|---|---|---|---|---|---|
| Creating a Job | √ | √ | x | √ | √ |
| Updating a job | √ | √ | x | √ | √ |
| Obtaining details about a job | √ | √ | √ | √ | √ |
| Obtaining the job list | √ | √ | √ | √ | √ |
| Deleting a job | √ | √ | x | √ | √ |
| Starting a job | √ | √ | x | √ | √ |
| Stopping a job | √ | √ | x | √ | √ |
| Creating a cluster | √ | x | x | √ | x |
| Updating a cluster | √ | x | x | √ | x |
| Obtaining details about a cluster | √ | x | √ | √ | x |
| Obtaining the cluster list | √ | x | √ | √ | x |
| Stopping a cluster | √ | x | x | √ | x |
| Restarting a cluster | √ | x | x | √ | x |
| Deleting a cluster | √ | x | x | √ | x |
| Querying quota information about a user | √ | x | x | √ | x |
| Querying quota information about all users | √ | x | x | √ | x |
| Changing the quota of a user | √ | x | x | √ | x |
| Obtaining audit statistics | √ | √ | x | √ | √ |
| Creating a template | √ | √ | x | √ | √ |
| Updating a template | √ | √ | x | √ | √ |
| Obtaining template information | √ | √ | √ | √ | √ |
| Obtaining the template list | √ | √ | √ | √ | √ |
| Deleting a template | √ | √ | x | √ | √ |
Last Article: About Quota
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.