检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
If there are additional charges, check whether you have not unsubscribed from the service for an IAM user.
If you are an IAM user who is not bound with any email address or mobile number, contact the administrator to reset your password. Parent topic: Token-based Authentication
User A user is created on in IAM using an account to use cloud services. Each user has its own identity credentials (password and access keys). An IAM user can view the account ID and user ID on the My Credentials page of the console.
Symptom The following error information is displayed during SDK calling: INFO com.huaweicloud.sdk.core.HcClient - project id of region 'ap-southeast-2' not found in BasicCredentials, trying to obtain project id from IAM service: https://iam.myhuaweicloud.com Possible Causes The project
If you log in as an IAM user, set the parameters as follows: usernameIAM username (subaccount name) domainname: account name If error code "APIGW.0101" is displayed, do the following: Check whether the URL used to obtain the token is correct.
Note that when subscribing to an API, it is important to log in to the console using the appropriate account/IAM user, purchase the required API, select the appropriate endpoint and billing mode, so that you can use the same account to access the purchased endpoint and use the API
You are advised to create an IAM user and obtain the user token. When calling the API to obtain a user token, you must set auth.scope in the request body to project.
Figure 1 Creating an access key You have obtained the IAM user name, account name, and the project ID of your target region on the My Credentials > API Credentials page. The information will be used during service calling. Save it in advance.
APIG.0301 Incorrect IAM authentication information.
Figure 1 Creating an access key You have obtained the IAM user name, account name, and the project ID of your target region on the My Credentials > API Credentials page. The information will be used during service calling. Save it in advance.
Figure 1 Creating an access key You have obtained the IAM user name, account name, and the project ID of your target region on the My Credentials > API Credentials page. The information will be used during service calling. Save it in advance.
Figure 1 Creating an access key You have obtained the IAM user name, account name, and the project ID of your target region on the My Credentials > API Credentials page. The information will be used during service calling. Save it in advance.
Figure 1 Creating an access key You have obtained the IAM user name, account name, and the project ID of your target region on the My Credentials > API Credentials page. The information will be used during service calling. Save it in advance.
Figure 1 Creating an access key You have obtained the IAM user name, account name, and the project ID of your target region on the My Credentials > API Credentials page. The information will be used during service calling. Save it in advance.
Figure 1 Creating an access key You have obtained the IAM user name, account name, and the project ID of your target region on the My Credentials > API Credentials page. The information will be used during service calling. Save it in advance.