检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Making an API Request This section describes the structure of a REST API request, and calls the IAM API for obtaining a user token as an example. The obtained token can then be used to authenticate the calling of other APIs.
What Is IAM? and Permissions Parent topic: Security
For security purposes, create IAM users and grant them permissions for routine management. User An Identity and Access Management (IAM) user is created using an account and can use cloud services. Each IAM user has its own identity credentials (password and access keys).
IAM user Delegates your AK/SK to an IAM user so that the user can obtain a token to perform tasks that require higher permissions. CodeArts Repo HTTPS Authorizes CodeArts to download code, create branches, merge branches, and commit code in CodeArts Repo repositories.
It can be obtained by calling the IAM API used to obtain a user token. The value of X-Subject-Token in the response header is the user token.
It can be obtained by calling the IAM API used to obtain a user token. The value of X-Subject-Token in the response header is the user token.
It can be obtained by calling the IAM API used to obtain a user token. The value of X-Subject-Token in the response header is the user token.
It can be obtained by calling the IAM API used to obtain a user token. The value of X-Subject-Token in the response header is the user token. Response Parameters Status code: 200 Table 3 Response body parameters Parameter Type Description status Boolean Status.
It can be obtained by calling the IAM API used to obtain a user token. The value of X-Subject-Token in the response header is the user token.
{Endpoint} indicates the endpoint of IAM, which can be obtained from Endpoints. For details about API authentication, see Authentication.
When using a token for authentication, cache it to prevent frequently calling the Identity and Access Management (IAM) API for obtaining a user token. A token specifies temporary permissions in a computer system.
It can be obtained by calling the IAM API used to obtain a user token. The value of X-Subject-Token in the response header is the user token. Table 3 Request body parameters Parameter Mandatory Type Description [items] No Array of strings Publisher ID set.
It can be obtained by calling the IAM API used to obtain a user token. The value of X-Subject-Token in the response header is the user token.
It can be obtained by calling the IAM API used to obtain a user token. The value of X-Subject-Token in the response header is the user token. Table 3 Request body parameters Parameter Mandatory Type Description [items] Yes Array of strings Pipeline ID list.
It can be obtained by calling the IAM API used to obtain a user token. The value of X-Subject-Token in the response header is the user token.
It can be obtained by calling the IAM API used to obtain a user token. The value of X-Subject-Token in the response header is the user token.
It can be obtained by calling the IAM API used to obtain a user token. The value of X-Subject-Token in the response header is the user token.
It can be obtained by calling the IAM API used to obtain a user token. The value of X-Subject-Token in the response header is the user token.
It can be obtained by calling the IAM API used to obtain a user token. The value of X-Subject-Token in the response header is the user token. Response Parameters Status code: 200 Table 3 Response body parameters Parameter Type Description pipeline_id String Pipeline ID.
It can be obtained by calling the IAM API used to obtain a user token. The value of X-Subject-Token in the response header is the user token. Response Parameters Status code: 200 Table 3 Response body parameters Parameter Type Description templateId String Template ID.