检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Figure 1 Viewing an IAM project ID Parent Topic: Obtaining a Project ID
Obtain a token (the value of the X-Subject-Token response header) by calling the IAM API forobtaining a user token.
Obtain a token (the value of the X-Subject-Token response header) by calling the IAM API forobtaining a user token.
Obtain a token (the value of the X-Subject-Token response header) by calling the IAM API forobtaining a user token.
IAM Authentication If you need to enable IAM authentication, add the user IAM token to the API request header.
Obtain a token (the value of the X-Subject-Token response header) by calling the IAM API forobtaining a user token. Constraints: N/A Value range: N/A Default value: N/A X-Language No String Definition: Language type. Constraints: N/A Value range: zh-cn: Chinese. en-us: English.
Obtain a token (the value of the X-Subject-Token response header) by calling the IAM API forobtaining a user token.
Value range: true: IAM is used. false: IAM is not used. webhookUrl String Definition: Webhook address.
Obtain a token (the value of the X-Subject-Token response header) by calling the IAM API forobtaining a user token. Constraints: N/A Value range: N/A Default value: N/A X-Language No String Definition: Language type. Constraints: N/A Value range: zh-cn: Chinese. en-us: English.
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 to use cloud services. Each IAM user has their own identity credentials (password and access keys).
Default value: N/A use_iam Yes Boolean Definition: Whether to use IAM authentication. Constraints: N/A Value range: true: IAM authentication is used. false: IAM authentication is not used.
Obtain a token (the value of the X-Subject-Token response header) by calling the IAM API forobtaining a user token.
For example, if you want to create an IAM user, use the endpoint of any region because IAM is a global service.
For example, if status code 201 is returned after calling the API for creating an IAM user as an administrator, the request has succeeded. Response Header Similar to a request, a response also has a header, for example, Content-Type.
When using a token for authentication, cache it to prevent frequently calling the Identity and Access Management (IAM) API for obtaining a user token. Ensure that the token is valid when you use it. Using a token that will soon expire may cause API calling failures.
Access Key Id The AK of the IAM user to connect. Obtain it from the My Credentials page. For details, see Access Keys. Secret Access Key The SK of the IAM user to connect. Obtain it from the My Credentials page. For details, see Access Keys.
Obtaining a Project ID Obtaining a CodeArts Project ID Obtaining an IAM Project ID Parent Topic: Appendixes
Access Control CodeArts Pipeline supports access control through IAM permissions.
Obtain a token (the value of the X-Subject-Token response header) by calling the IAM API forobtaining a user token.
Obtain a token (the value of the X-Subject-Token response header) by calling the IAM API forobtaining a user token. Constraints: N/A Value range: N/A Default value: N/A X-Language No String Definition: Language type. Constraints: N/A Value range: zh-cn: Chinese. en-us: English.