检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Creating a User and Assigning Permissions This section describes how to use IAM to implement fine-grained permissions control on your service tickets. With IAM, you can: Create IAM users for employees based on your enterprise's organizational structure.
If your Huawei Cloud account does not need individual IAM users for permissions management, you may 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.
For example, to obtain an IAM token in the CN North-Beijing1 region, obtain the endpoint of IAM (iam.cn-north-1.myhuaweicloud.com) for this region and the resource-path (/v3/auth/tokens) in the URI of the API used to obtain a user token.
By default, the Ticket Policy function is disabled and all the IAM users have the permission to create service tickets. If the Ticket Policy function is enabled, IAM users can create service tickets only after they are assigned with required permissions.
For security purposes, create IAM users and grant them permissions for routine management. User An IAM user is created by an account in IAM to use cloud services. Each IAM user has its own identity credentials (password and access keys).
For example, IAM users A and C belong to group 1 and group 2 respectively, and IAM user B belongs to both group 1 and group 2.
Parameters Table 1 Parameter description Parameter Mandatory Type Value Range Description searchKey No String 16 Fuzzy search for brief description of the service ticket. caseId No String 32 Fuzzy search for the service ticket number. subCustomerName No String 32 Fuzzy search for the IAM
Minimum value: 0 Maximum value: 9223372036854775807 Table 2 Query parameters Parameter Mandatory Type Description group_id No String Specifies the IAM group ID.
It can be obtained by calling the IAM API (value of X-Subject-Token in the response header). Minimum length: 1 Maximum length: 5000 X-Language No String Specifies the language environment. The value is a common language description character string, for example, zh-cn.
Assume that enterprise administrator A and IAM users B and C belong to the same user group Ticket that has been assigned the Ticket Group Operator permission. Users A, B and C can view and process authorizations for each other. Procedure Log in to the management console.
It can be obtained by calling the IAM API (value of X-Subject-Token in the response header). Minimum length: 1 Maximum length: 5000 X-Language No String Specifies the language environment. The value is a common language description character string, for example, zh-cn.
It can be obtained by calling the IAM API (value of X-Subject-Token in the response header). Minimum length: 1 Maximum length: 5000 X-Language No String Specifies the language environment. The value is a common language description character string, for example, zh-cn.
It can be obtained by calling the IAM API (value of X-Subject-Token in the response header). Minimum length: 1 Maximum length: 5000 X-Language No String Specifies the language environment. The value is a common language description character string, for example, zh-cn.
It can be obtained by calling the IAM API (value of X-Subject-Token in the response header). Minimum length: 1 Maximum length: 5000 X-Language No String Specifies the language environment. The value is a common language description character string, for example, zh-cn.
Table 2 caseDetail field description Parameter Type Description caseId String Specifies the service ticket ID. businessTypeName String Specifies the problem type name. incidentTypeName String Specifies the type name. customerId String Account ID. subCustomerId String IAM user ID.
It can be obtained by calling the IAM API (value of X-Subject-Token in the response header). Minimum length: 1 Maximum length: 5000 X-Language No String Specifies the language environment. The value is a common language description character string, for example, zh-cn.
It can be obtained by calling the IAM API (value of X-Subject-Token in the response header). Minimum length: 1 Maximum length: 5000 X-Language No String Specifies the language environment. The value is a common language description character string, for example, zh-cn.
It can be obtained by calling the IAM API (value of X-Subject-Token in the response header). Minimum length: 1 Maximum length: 5000 X-Language No String Specifies the language environment. The value is a common language description character string, for example, zh-cn.
It can be obtained by calling the IAM API (value of X-Subject-Token in the response header). Minimum length: 1 Maximum length: 5000 X-Language No String Specifies the language environment. The value is a common language description character string, for example, zh-cn.
It can be obtained by calling the IAM API (value of X-Subject-Token in the response header). Minimum length: 1 Maximum length: 5000 X-Language No String Specifies the language environment. The value is a common language description character string, for example, zh-cn.