iam__KeystoneCreateUserTokenByPassword
Authenticates an IAM user with username and password to obtain a scoped token for accessing Huawei Cloud resources. Specify project or domain scope to control token permissions.
Instructions
[IAM] 该接口可以用于通过用户名/密码的方式进行认证来获取IAM用户token。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"auth": "<auth>"
},
"name": "iam__KeystoneCreateUserTokenByPassword"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| auth | Yes | 认证信息。 | |
| nocatalog | No | 如果设置该参数,返回的响应体中将不显示catalog信息。任何非空字符串都将解释为true,并使该字段生效。 |