2025-04-27 15:11:50 +08:00
|
|
|
|
showRunStrategy: false
|
|
|
|
|
|
default:
|
|
|
|
|
|
strategy:
|
|
|
|
|
|
runStrategy: 1
|
|
|
|
|
|
name: uploadCertToAliyun
|
2025-12-30 11:09:50 +08:00
|
|
|
|
title: 阿里云-上传证书到CAS
|
2025-04-27 15:11:50 +08:00
|
|
|
|
icon: svg:icon-aliyun
|
|
|
|
|
|
group: aliyun
|
2025-12-30 11:09:50 +08:00
|
|
|
|
desc: 上传证书到阿里云证书管理服务(CAS),如果不想在阿里云上同一份证书上传多次,可以把此任务作为前置任务,其他阿里云任务证书那一项选择此任务的输出
|
2025-04-27 15:11:50 +08:00
|
|
|
|
input:
|
|
|
|
|
|
name:
|
|
|
|
|
|
title: 证书名称
|
|
|
|
|
|
helper: 证书上传后将以此参数作为名称前缀
|
|
|
|
|
|
order: 0
|
|
|
|
|
|
regionId:
|
|
|
|
|
|
title: 大区
|
|
|
|
|
|
value: cn-hangzhou
|
|
|
|
|
|
component:
|
|
|
|
|
|
name: a-auto-complete
|
|
|
|
|
|
vModel: value
|
|
|
|
|
|
options:
|
|
|
|
|
|
- value: cn-hangzhou
|
|
|
|
|
|
endpoint: cas.aliyuncs.com
|
|
|
|
|
|
label: cn-hangzhou-中国大陆
|
2025-12-30 11:09:50 +08:00
|
|
|
|
- value: ap-southeast-1
|
|
|
|
|
|
endpoint: cas.ap-southeast-1.aliyuncs.com
|
|
|
|
|
|
label: ap-southeast-1-新加坡(国际版选这个)
|
|
|
|
|
|
- value: private-
|
|
|
|
|
|
endpoint: ''
|
|
|
|
|
|
disabled: true
|
|
|
|
|
|
label: 以下是私有证书区域
|
2025-04-27 15:11:50 +08:00
|
|
|
|
- value: eu-central-1
|
|
|
|
|
|
endpoint: cas.eu-central-1.aliyuncs.com
|
|
|
|
|
|
label: eu-central-1-德国(法兰克福)
|
|
|
|
|
|
- value: ap-southeast-3
|
|
|
|
|
|
endpoint: cas.ap-southeast-3.aliyuncs.com
|
|
|
|
|
|
label: ap-southeast-3-马来西亚(吉隆坡)
|
|
|
|
|
|
- value: ap-southeast-5
|
|
|
|
|
|
endpoint: cas.ap-southeast-5.aliyuncs.com
|
|
|
|
|
|
label: ap-southeast-5-印度尼西亚(雅加达)
|
|
|
|
|
|
- value: cn-hongkong
|
|
|
|
|
|
endpoint: cas.cn-hongkong.aliyuncs.com
|
|
|
|
|
|
label: cn-hongkong-中国香港
|
|
|
|
|
|
required: true
|
|
|
|
|
|
order: 0
|
|
|
|
|
|
cert:
|
|
|
|
|
|
title: 域名证书
|
|
|
|
|
|
helper: 请选择前置任务输出的域名证书
|
|
|
|
|
|
component:
|
|
|
|
|
|
name: output-selector
|
|
|
|
|
|
from:
|
2025-12-30 11:09:50 +08:00
|
|
|
|
- ':cert:'
|
2025-04-27 15:11:50 +08:00
|
|
|
|
required: true
|
|
|
|
|
|
order: 0
|
|
|
|
|
|
accessId:
|
|
|
|
|
|
title: Access授权
|
|
|
|
|
|
helper: 阿里云授权AccessKeyId、AccessKeySecret
|
|
|
|
|
|
component:
|
|
|
|
|
|
name: access-selector
|
|
|
|
|
|
type: aliyun
|
|
|
|
|
|
required: true
|
|
|
|
|
|
order: 0
|
|
|
|
|
|
output:
|
|
|
|
|
|
aliyunCertId:
|
|
|
|
|
|
title: 上传成功后的阿里云CertId
|
|
|
|
|
|
pluginType: deploy
|
2025-12-30 18:32:00 +08:00
|
|
|
|
type: builtIn
|
2025-12-31 18:39:58 +08:00
|
|
|
|
scriptFilePath: /plugins/plugin-aliyun/plugin/upload-to-aliyun/index.js
|