检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
IAM Authentication IAM uses token-based authentication. The validity period of a token is 24 hours. When using a token for authentication, cache it to prevent frequently calling the API used to obtain a user token. Ensure that the token is valid while you use it.
", "iam:permissions:grantRoleToAgency", "iam:permissions:listRolesForAgencyOnProject", "iam:permissions:revokeRoleFromAgency", "iam:roles:createRole" To use an IAM agency, the following minimum permissions are required: "iam:agencies:listAgencies", "iam:agencies:getAgency", "iam:permissions
getAgency", "iam:agencies:createAgency", "iam:permissions:listRolesForAgency", "iam:permissions:grantRoleToAgency", "iam:permissions:listRolesForAgencyOnProject", "iam:permissions:revokeRoleFromAgency", "iam:roles:createRole" To use an IAM agency, the following minimum permissions
{iam-endpoint} indicates the endpoint of IAM, which can be obtained from Endpoints. For details about how to obtain the IAM endpoint, see Authentication. The following is an example response.
Identity and Access Management (IAM) IAM authenticates access to KooSearch. For details, see Identity and Access Management User Guide. Cloud Eye KooSearch uses Cloud Eye to monitor the metrics of the CSS vector database in real time. For details, see Cloud Eye User Guide.
It reuses CSS's user authentication and access control mechanisms, which consist of two aspects: Identity and Access Management (IAM) for resource-level user authentication and access control; the cluster security mode and the associated user authentication and access control mechanisms
Table 5 IamInfo Parameter Mandatory Type Description iam_enabled No Boolean Indicates whether to enable authentication agency_enabled No Boolean Indicates whether to use an agency account for authentication project_id No String Project ID of the IAM user.
Table 4 IamInfo Parameter Mandatory Type Description iam_enabled No Boolean Indicates whether to enable authentication agency_enabled No Boolean Indicates whether to use an agency account for authentication project_id No String Project ID of the IAM user.
Instead, create IAM users and grant them permissions for routine management. User An IAM user is created under an account to use cloud services. Each user has its own identity credentials (password and access keys).
Table 6 IamInfo Parameter Type Description iam_enabled Boolean Indicates whether to enable authentication agency_enabled Boolean Indicates whether to use an agency account for authentication project_id String Project ID of the IAM user.
For details about how to obtain the token, see Obtaining an IAM User Token. Constraints: N/A Value range: N/A Default value: N/A Response Parameters Status code: 200 Table 2 Response body parameters Parameter Type Description repo_id String Definition: Knowledge base ID.
For details about how to obtain the token, see Obtaining an IAM User Token. Constraints: N/A Value range: N/A Default value: N/A Table 3 Request body parameters Parameter Mandatory Type Description detail No String Definition: Model description.
For example, if you want to obtain a token for IAM in the Southwest-Guiyang 1 region, you need to use the IAM service endpoint of this region (iam.cn-southwest-2.myhuaweicloud.com) and find resource-path (/v3/auth/tokens) in the URI of the API for obtaining a user token.
Authentication Type IAM authentication: Huawei IAM authentication is supported. By default, the CSS resource tenant is authenticated. When entrusted account authentication is enabled, you may use an entrusted account to perform the authentication.
For details about how to obtain the token, see Obtaining an IAM User Token. Constraints: N/A Value range: N/A Default value: N/A Response Parameters Status code: 200 Response to a chat history deletion request. None Example Requests Delete a single chat history record.
For details about how to obtain the token, see Obtaining an IAM User Token.
For details about how to obtain the token, see Obtaining an IAM User Token. Constraints: N/A Value range: N/A Default value: N/A Response Parameters Status code: 200 Table 4 Response body parameters Parameter Type Description page_num Long Definition: Page number.
For details about how to obtain the token, see Obtaining an IAM User Token. Constraints: N/A Value range: N/A Default value: N/A Table 3 Request body parameters Parameter Mandatory Type Description name Yes String Definition: Model name.
For details about how to obtain the token, see Obtaining an IAM User Token. Constraints: N/A Value range: N/A Default value: N/A Table 3 FormData parameters Parameter Mandatory Type Description image Yes File Definition: Uploaded image file.
For details about how to obtain the token, see Obtaining an IAM User Token. Constraints: N/A Value range: N/A Default value: N/A Response Parameters Status code: 200 Deleted.