Files
certd/packages/ui/certd-server/metadata/deploy_DeployCertToAliyunOSS.yaml
xiaojunnuo 6cb51bc55d v1.39.3
2026-03-17 14:01:18 +08:00

180 lines
4.8 KiB
YAML

showRunStrategy: false
default:
strategy:
runStrategy: 1
name: DeployCertToAliyunOSS
title: 阿里云-部署证书至OSS
icon: svg:icon-aliyun
group: aliyun
desc: 部署域名证书至阿里云OSS自定义域名,不是上传到阿里云oss
input:
casRegion:
title: 证书服务接入点
helper: 不会选就按默认
value: cn-hangzhou
component:
name: a-select
options:
- value: cn-hangzhou
label: 中国大陆
- value: ap-southeast-1
label: 新加坡
- value: eu-central-1
label: 德国(法兰克福)
required: true
order: -99
accessId:
title: Access授权
helper: 阿里云授权AccessKeyId、AccessKeySecret
component:
name: access-selector
type: aliyun
required: true
order: -98
cert:
title: 域名证书
helper: 请选择前置任务输出的域名证书
component:
name: output-selector
from:
- ':cert:'
- uploadCertToAliyun
required: true
order: 0
certDomains:
title: 当前证书域名
component:
name: cert-domains-getter
mergeScript: |2-
return {
component:{
inputKey: ctx.compute(({form})=>{
return form.cert
}),
}
}
template: false
required: false
order: 0
region:
title: 大区
component:
name: a-auto-complete
vModel: value
options:
- value: oss-cn-hangzhou
label: 华东1(杭州)
- value: oss-cn-shanghai
label: 华东2(上海)
- value: oss-cn-nanjing
label: 华东5(南京-本地地域)
- value: oss-cn-fuzhou
label: 华东6(福州-本地地域)
- value: oss-cn-wuhan-lr
label: 华中1(武汉-本地地域)
- value: oss-cn-qingdao
label: 华北1(青岛)
- value: oss-cn-beijing
label: 华北2(北京)
- value: oss-cn-zhangjiakou
label: 华北 3(张家口)
- value: oss-cn-huhehaote
label: 华北5(呼和浩特)
- value: oss-cn-wulanchabu
label: 华北6(乌兰察布)
- value: oss-cn-shenzhen
label: 华南1(深圳)
- value: oss-cn-heyuan
label: 华南2(河源)
- value: oss-cn-guangzhou
label: 华南3(广州)
- value: oss-cn-chengdu
label: 西南1(成都)
- value: oss-cn-hongkong
label: 中国香港
- value: oss-us-west-1
label: 美国(硅谷)①
- value: oss-us-east-1
label: 美国(弗吉尼亚)①
- value: oss-ap-northeast-1
label: 日本(东京)①
- value: oss-ap-northeast-2
label: 韩国(首尔)
- value: oss-ap-southeast-1
label: 新加坡①
- value: oss-ap-southeast-2
label: 澳大利亚(悉尼)①
- value: oss-ap-southeast-3
label: 马来西亚(吉隆坡)①
- value: oss-ap-southeast-5
label: 印度尼西亚(雅加达)①
- value: oss-ap-southeast-6
label: 菲律宾(马尼拉)
- value: oss-ap-southeast-7
label: 泰国(曼谷)
- value: oss-eu-central-1
label: 德国(法兰克福)①
- value: oss-eu-west-1
label: 英国(伦敦)
- value: oss-me-east-1
label: 阿联酋(迪拜)①
- value: oss-rg-china-mainland
label: 无地域属性(中国内地)
required: true
order: 0
bucket:
title: Bucket
helper: 存储桶名称
component:
name: remote-auto-complete
vModel: value
type: plugin
action: onGetBucketList
search: false
pager: false
watches:
- accessId
- region
required: true
order: 0
domainName:
title: 绑定的域名
component:
name: remote-select
vModel: value
mode: tags
type: plugin
action: onGetDomainList
search: false
pager: false
multi: true
watches:
- certDomains
- accessId
- certDomains
- accessId
- bucket
required: true
mergeScript: |2-
return {
component:{
form: ctx.compute(({form})=>{
return form
})
},
}
helper: 你在阿里云OSS上绑定的域名,比如:certd.docmirror.cn
order: 0
certName:
title: 证书名称
helper: 上传后将以此名称作为前缀备注
order: 0
output: {}
pluginType: deploy
type: builtIn
scriptFilePath: /plugins/plugin-aliyun/plugin/deploy-to-oss/index.js