aad__SetCertForDomain
Upload or replace the SSL/TLS certificate for a specified domain using its domain ID and project ID, enabling certificate updates for AAD domain protection.
Instructions
[AAD] 上传/修改域名对应证书
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": {
"cert_name": "<cert_name>",
"domain_id": "<domain_id>",
"op_type": "<op_type>",
"project_id": "<project_id>"
},
"name": "aad__SetCertForDomain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op_type | Yes | 操作类型。0 - 上传, 1 - 更换 | |
| cert_file | No | 证书文件。上传新证书(op_type为0)时必填,更换为已有证书(op_type为1)时置空 | |
| cert_name | Yes | 证书名称 | |
| domain_id | Yes | 域名id | |
| project_id | Yes | 项目ID,对应华为云控制台用户名->我的凭证->项目列表->项目ID | |
| cert_key_file | No | 私钥文件。上传新证书(op_type为0)时必填,更换为已有证书(op_type为1)时置空 |