检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
IAM Permissions Management Creating a User and Granting CBS Permissions
Parent topic: IAM Permissions Management
When using a token for authentication, cache it to prevent frequently calling the IAM API used to obtain a user token. You can call a CBS API only after obtaining a token for authentication.
IAM user A user is created to use cloud services. Each user has their own identity credentials (password and access keys). You can view the account ID and user ID on the My Credentials page of the console.
Making an API Request This section describes the structure of a REST API, and uses the IAM API for obtaining a user token as an example to demonstrate how to call an API. The obtained token can then be used to authenticate the calling of other APIs.
Please contact technical support. 500 CBS.9998 IAM error. Service backend error. Please contact technical support. 500 CBS.9997 Lab core error. Service backend error. Please contact technical support. 400 CBS.1114 The service has not been enabled.
Related Services Identity and Access Management (IAM) IAM lets you control user authentication and access to CBS.
For more information about IAM, see IAM Service Overview. CBS Permissions By default, new IAM users do not have permissions assigned. You need to add a user to one or more groups, and attach permissions policies or roles to these groups.
{Endpoint} indicates the endpoint of IAM, which can be obtained from Regions and Endpoints. For details about API authentication, see Authentication. The following is an example response.