roma__UpdateCertificateV2
Updates an existing SSL certificate for ROMA, letting you change its name, certificate content, private key, algorithm type, and visibility scope by certificate ID and project.
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>",
"certificate_id": "<certificate_id>",
"name": "<name>",
"private_key": "<private_key>",
"project_id": "<project_id>"
},
"name": "roma__UpdateCertificateV2"
}
}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 | 证书算法类型: | |
| certificate_id | Yes | 证书的编号 | |
| trusted_root_ca | No | 信任的根证书CA | |
| private_key_sign | No | 签名类型私钥内容,仅algorithm_type=SM2时必填 | |
| cert_content_sign | No | 签名类型证书内容,仅algorithm_type=SM2时必填 |