iam__CreateMetadata
Imports an identity provider's SAML metadata file into Huawei Cloud IAM, linking it to a domain, IdP, and protocol for federated authentication setup.
Instructions
[IAM] 该接口可以用于管理员导入Metadata文件。
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": {
"domain_id": "<domain_id>",
"idp_id": "<idp_id>",
"metadata": "<metadata>",
"protocol_id": "<protocol_id>",
"xaccount_type": "<xaccount_type>"
},
"name": "iam__CreateMetadata"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| idp_id | Yes | 身份提供商ID。 | |
| metadata | Yes | 该字段为用户IdP服务器的Metadata文件的内容。 | |
| domain_id | Yes | 用户所属账号ID。 | |
| protocol_id | Yes | 协议ID。 | |
| xaccount_type | Yes | 该字段为标识租户来源字段,默认为空。 |