云应用引擎 CAE-创建证书:请求示例

时间:2024-11-14 17:12:18

请求示例

创建证书,证书名称“test”,填写crt(服务器证书内容)和key(服务器私钥内容)。

POST https://{endpoint}/v1/{project_id}/cae/certificates

{
  "api_version" : "v1",
  "kind" : "Certificate",
  "metadata" : {
    "name" : "test"
  },
  "spec" : {
    "crt" : "xxx",
    "key" : "xxx"
  }
}
support.huaweicloud.com/api-cae/CreateCertificate.html