Help Center/
Object Storage Service/
SDK Reference/
Go/
FAQ (SDK for Go)/
How Do I Get My Account ID and User ID?
Updated on 2023-12-22 GMT+08:00
How Do I Get My Account ID and User ID?
Obtaining Account, IAM User, and Project Information
- Using the console
- On the Huawei Cloud homepage, click Console in the upper right corner.
- In the upper right corner, hover over the username and choose My Credentials from the drop-down list.
Figure 1 My Credentials
- On the API Credentials page, view the account name, account ID, IAM user name, IAM user ID, project name, and project ID.
The project ID varies depending on the region where your service is located.Figure 2 Viewing the account, user, and project information
- Calling an API
- To obtain a user ID, see Listing IAM Users.
- To obtain a user ID, see Querying Project Information.
Obtaining User Group Information
- Log in to the Huawei Cloud console, access the IAM console, and choose User Groups in the navigation pane.
- Expand the details of the desired user group and view its name and ID.
Obtaining Region Information
- Log in to the Huawei Cloud console, access the IAM console, and choose Projects in the navigation pane.
- View the content in the Project Name column. The content in this column indicates the ID of the region where the project belongs.
Obtaining Agency Information
- Log in to the Huawei Cloud console, access the IAM console, and choose Agencies in the navigation pane.
- Hover over the desired agency to view its name (in the first line) and ID (in the second line) in the dark pop-up box.
Parent topic: FAQ (SDK for Go)
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot