waf__CreateCertificate
Create a Web Application Firewall SSL certificate in Huawei Cloud WAF by providing the PEM certificate, private key, certificate name, and project ID.
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": {
"content": "<content>",
"key": "<key>",
"name": "<name>",
"project_id": "<project_id>"
},
"name": "waf__CreateCertificate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | 证书私钥,仅支持PEM格式的证书和私钥文件,且文件中的换行符应以\n替换,如请求示例所示 | |
| name | Yes | 证书名称,证书名称只能由数字、字母、中划线、下划线和英文句点组成,长度不能超过256位字符 | |
| content | Yes | 证书文件,仅支持PEM格式的证书和私钥文件,且文件中的换行符应以\n替换,如请求示例所示 | |
| project_id | Yes | 项目ID,对应华为云控制台用户名->我的凭证->项目列表->项目ID | |
| enterprise_project_id | No | 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id |