chore: 阿里云上传证书返回值优化为带region的

This commit is contained in:
xiaojunnuo
2026-01-31 19:36:37 +08:00
parent 1a0d3eeb1b
commit 1089aeab9e
10 changed files with 24 additions and 20 deletions
@@ -152,11 +152,11 @@ export class AliyunDeployCertToWaf extends AbstractTaskPlugin {
endpoint: this.casEndpoint,
});
const certIdRes = await sslClient.uploadCert({
const certIdRes = await sslClient.uploadCertificate({
name: this.buildCertName(CertReader.getMainDomain(this.cert.crt)),
cert: this.cert,
});
certId = certIdRes.certId;
certId = certIdRes.certId as any;
}
const client = await this.getWafClient(access);