检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
What Permissions Are Required for an IAM Account to Use the ModelArts Studio? When creating an IAM account, the master account can add the IAM user to a user group, and the user will inherit the permissions from the user group.
To call this API as an IAM user, the IAM user must be granted the required permissions. For details, see Permissions and Supported Actions. URI POST /v1/{project_id}/deployments/{deployment_id}/caltokens For details about how to obtain the URI, see Request URI.
To call this API as an IAM user, the IAM user must be granted the required permissions. For details, see Permissions and Supported Actions.
To call this API as an IAM user, the IAM user must be granted the required permissions. For details, see Permissions and Supported Actions. URI The NLP inference service can be invoked using Pangu inference APIs (V1 inference APIs) or OpenAI APIs (V2 inference APIs).
Check the authentication configuration. 110001 Get users in domain in IAM failed Check whether the user information is correctly configured. Workflow 112501 Workflow authentication failed. Check the authentication configuration. 112502 Some required parameters are missing.
APIG.0301 Incorrect IAM authentication information.
What Permissions Are Required for an IAM Account to Use the ModelArts Studio?
The following is an example of an API call: Pseudocode POST https://iam.ap-southeast-1.myhuaweicloud.com/v3/auth/tokens //Obtain the token of the CN-Hong Kong region.
IAM user A user is created to use cloud services. Each user has its own identity credentials (password and access keys). You can view the ID and user ID on the My Credentials page of the console. The name, username, and password will be required for API authentication.
Figure 1 My Credentials On the My Credentials page, obtain the project ID, account name, account ID, IAM username, and IAM user ID. When calling a Pangu API, ensure that the project ID you obtained belongs to the region where the Pangu service is deployed.
The following error information indicates that the token has expired. { "error_msg": "Incorrect IAM authentication information: token expires, expires_at:2023-06-29T02:16:41.581000Z", "error_code": "APIG.0301", "request_id": "469967f55e6b225xxx" } In the response body,
ModelArts supports IAM users, federated users, agency users, and all users. To obtain OBS authorization of ModelArts, select All users or IAM user. Authorization objects When Authorized User is set to IAM user, set the IAM user account to be authorized.
To call this API as an IAM user, the IAM user must be granted the required permissions. For details, see Permissions and Supported Actions. URI POST /v1/{project_id}/agents/{agent_id}/conversations/{conversation_id} For details about how to obtain the URI, see Request URI.
If your Huawei Cloud account does not require individual IAM users for permissions management, skip this section. You can use IAM and the member management function of ModelArts Studio to implement fine-grained permissions management for IAM users.
To call this API as an IAM user, the IAM user must be granted the required permissions. For details, see Permissions and Supported Actions. URI POST /v1/{project_id}/workflows/{workflow_id}/conversations/{conversation_id} For details about how to obtain the URI, see Request URI.
If your Huawei Cloud account does not require individual IAM users for permissions management, skip this section. With IAM, you can use your Huawei Cloud account to create IAM users, and grant permissions to the users to control their access to specific resources.
To call this API as an IAM user, the IAM user must be granted the required permissions. For details, see Permissions and Supported Actions.
To call this API as an IAM user, the IAM user must be granted the required permissions. For details, see Permissions and Supported Actions.