检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
cbh StartInstance Stopping a bastion host instance cbh StopInstance Restarting a bastion host instance cbh RebootInstance Upgrading a bastion host instance cbh UpgradeInstance Rolling back a bastion host instance cbh RollbackInstance Logging in to a bastion instance console as an IAM
{Endpoint} is the IAM endpoint and can be obtained from Regions and Endpoints.. For details about API authentication, see Authentication.
Changing Your Password/Setting a Local Password If you use an IAM, SAML, or Azure AD account to log in to the bastion host, you need to set a local password for resource O&M. In other scenarios, you can change the user password on the bastion host. Log in to your bastion host.
", "name": "IAMUser", "description": "IAM User Description", "areacode": "", "phone": "", "email": "***@***.com", "status": null, "enabled": true, "pwd_status": false, "access_mode": "default",
When using a token for authentication, cache it to prevent frequently calling the IAM API used to obtain 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.
For details, see "Obtaining the Token of an IAM User."
Request Parameters Table 2 Request header parameters Parameter Mandatory Type Description X-Auth-Token Yes String 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.
For details, see "Obtaining the Token of an IAM User." Response Parameters Status code: 200 Table 4 Response body parameters Parameter Type Description total Integer The total number of CBH instances. instance Array of InstanceDetail objects CBH instance list.
For details, see "Obtaining the Token of an IAM User." limit No String Specifies the number of records to be queried. This parameter is not available when action is set to count. If action is set to filter, the default value is 1000.
When you use an IAM, SAML, or Azure AD account to log in to a bastion host, if the system displays a message indicating that the local password is not set, set the local password in the Profile center or contact the administrator.
IAM Login If you enable this, you can directly log in to the bastion host from IAM. Period of validity Specifies the validity period of the user account. Logon Time Limit Specifies the allowed or forbidden login time range. The time limit is set by the day and the hour.