roma__CreateCertificateV2
Creates an SSL certificate in Huawei Cloud ROMA using certificate content, private key, project ID, and optional instance or global visibility settings.
Instructions
[ROMA] 创建SSL证书
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_content": "<cert_content>",
"name": "<name>",
"private_key": "<private_key>",
"project_id": "<project_id>"
},
"name": "roma__CreateCertificateV2"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | 证书名称 | |
| type | No | 证书可见范围: | global |
| project_id | Yes | 项目ID,获取方式请参见API参考的“附录 > 获取项目ID”章节。 | |
| instance_id | No | 所属实例ID,当type=instance时必填 | |
| private_key | Yes | 证书私钥 | |
| cert_content | Yes | 证书内容 | |
| algorithm_type | No | 证书算法类型: | |
| trusted_root_ca | No | 信任的根证书CA | |
| private_key_sign | No | 签名类型私钥内容,仅algorithm_type=SM2时必填 | |
| cert_content_sign | No | 签名类型证书内容,仅algorithm_type=SM2时必填 |