waf__UpdateCertificate
Updates a Web Application Firewall (WAF) certificate by ID, allowing you to change its name, PEM certificate content, private key, and associated enterprise project.
Instructions
[WAF] 修改证书
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": {
"certificate_id": "<certificate_id>",
"name": "<name>",
"project_id": "<project_id>"
},
"name": "waf__UpdateCertificate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | 证书私钥,仅支持PEM格式的证书和私钥文件,且文件中的换行符应以\n替换 | |
| name | Yes | 证书名称,证书名称只能由数字、字母、中划线、下划线和英文句点组成,长度不能超过256位字符 | |
| content | No | 证书文件,仅支持PEM格式的证书和私钥文件,且文件中的换行符应以\n替换 | |
| project_id | Yes | 项目ID,对应华为云控制台用户名->我的凭证->项目列表->项目ID | |
| certificate_id | Yes | https证书id,您可以通过调用查询证书列表(ListCertificates)接口获取证书id | |
| enterprise_project_id | No | 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id |