@certd/plugin-plus 1.37.17 → 1.38.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (160) hide show
  1. package/CHANGELOG.md +133 -181
  2. package/build.md +1 -0
  3. package/dist/d/index.d.ts +1 -23
  4. package/dist/d/synology/client.d.ts +13 -3
  5. package/dist/d/synology/index.d.ts +0 -2
  6. package/dist/d/unicloud/client.d.ts +6 -3
  7. package/dist/index.js +1 -1
  8. package/fix-esm-import-paths.js +11 -11
  9. package/package.json +8 -25
  10. package/{rollup.config.mjs → rollup.config.js} +1 -19
  11. package/tsconfig.json +2 -1
  12. package/dist/d/1panel/access.d.ts +0 -17
  13. package/dist/d/1panel/client.d.ts +0 -37
  14. package/dist/d/1panel/index.d.ts +0 -3
  15. package/dist/d/1panel/plugins/deploy-to-website.d.ts +0 -18
  16. package/dist/d/1panel/plugins/index.d.ts +0 -1
  17. package/dist/d/1panel/util.d.ts +0 -1
  18. package/dist/d/alipay/access.d.ts +0 -11
  19. package/dist/d/alipay/index.d.ts +0 -1
  20. package/dist/d/aliyun/index.d.ts +0 -1
  21. package/dist/d/aliyun/plugins/deploy-to-ack/index.d.ts +0 -26
  22. package/dist/d/aliyun/plugins/deploy-to-all/index.d.ts +0 -39
  23. package/dist/d/aliyun/plugins/index.d.ts +0 -2
  24. package/dist/d/baidu/access.d.ts +0 -11
  25. package/dist/d/baidu/client.d.ts +0 -40
  26. package/dist/d/baidu/index.d.ts +0 -3
  27. package/dist/d/baidu/plugins/index.d.ts +0 -3
  28. package/dist/d/baidu/plugins/plugin-deploy-to-blb.d.ts +0 -17
  29. package/dist/d/baidu/plugins/plugin-deploy-to-cdn.d.ts +0 -11
  30. package/dist/d/baidu/plugins/plugin-upload-to-baidu.d.ts +0 -7
  31. package/dist/d/baishan/access.d.ts +0 -8
  32. package/dist/d/baishan/index.d.ts +0 -2
  33. package/dist/d/baishan/plugins/index.d.ts +0 -1
  34. package/dist/d/baishan/plugins/plugin-update-cert.d.ts +0 -10
  35. package/dist/d/baota/access.d.ts +0 -13
  36. package/dist/d/baota/index.d.ts +0 -4
  37. package/dist/d/baota/lib/client.d.ts +0 -14
  38. package/dist/d/baota/plugins/index.d.ts +0 -5
  39. package/dist/d/baota/plugins/plugin-delete-expiring-cert.d.ts +0 -6
  40. package/dist/d/baota/plugins/plugin-deploy-to-aawaf.d.ts +0 -15
  41. package/dist/d/baota/plugins/plugin-deploy-to-panel.d.ts +0 -8
  42. package/dist/d/baota/plugins/plugin-deploy-to-website-win.d.ts +0 -11
  43. package/dist/d/baota/plugins/plugin-deploy-to-website.d.ts +0 -17
  44. package/dist/d/baota/waf-access.d.ts +0 -19
  45. package/dist/d/cdnfly/access.d.ts +0 -19
  46. package/dist/d/cdnfly/index.d.ts +0 -2
  47. package/dist/d/cdnfly/plugins/index.d.ts +0 -1
  48. package/dist/d/cdnfly/plugins/plugin-deploy-to-cdn.d.ts +0 -25
  49. package/dist/d/ctyun/index.d.ts +0 -1
  50. package/dist/d/ctyun/lib.d.ts +0 -156
  51. package/dist/d/ctyun/plugins/index.d.ts +0 -1
  52. package/dist/d/ctyun/plugins/plugin-deploy-to-cdn.d.ts +0 -12
  53. package/dist/d/ftp/index.d.ts +0 -1
  54. package/dist/d/ftp/plugins/index.d.ts +0 -1
  55. package/dist/d/ftp/plugins/plugin-upload-to-ftp.d.ts +0 -16
  56. package/dist/d/host/index.d.ts +0 -1
  57. package/dist/d/host/plugins/index.d.ts +0 -1
  58. package/dist/d/host/plugins/plugin-deploy-to-iis.d.ts +0 -13
  59. package/dist/d/k8s/access.d.ts +0 -5
  60. package/dist/d/k8s/index.d.ts +0 -2
  61. package/dist/d/k8s/plugins/index.d.ts +0 -3
  62. package/dist/d/k8s/plugins/plugin-apply.d.ts +0 -12
  63. package/dist/d/k8s/plugins/plugin-ingress.d.ts +0 -15
  64. package/dist/d/k8s/plugins/plugin-secret.d.ts +0 -17
  65. package/dist/d/kuocai/access.d.ts +0 -9
  66. package/dist/d/kuocai/index.d.ts +0 -2
  67. package/dist/d/kuocai/plugins/index.d.ts +0 -1
  68. package/dist/d/kuocai/plugins/plugin-deploy-to-cdn.d.ts +0 -17
  69. package/dist/d/lecdn/access.d.ts +0 -10
  70. package/dist/d/lecdn/index.d.ts +0 -2
  71. package/dist/d/lecdn/plugins/index.d.ts +0 -2
  72. package/dist/d/lecdn/plugins/plugin-update-cert-v2.d.ts +0 -19
  73. package/dist/d/lecdn/plugins/plugin-update-cert.d.ts +0 -19
  74. package/dist/d/lib/index.d.ts +0 -6
  75. package/dist/d/lucky/access.d.ts +0 -16
  76. package/dist/d/lucky/index.d.ts +0 -2
  77. package/dist/d/lucky/plugins/index.d.ts +0 -1
  78. package/dist/d/lucky/plugins/plugin-upload.d.ts +0 -18
  79. package/dist/d/maoyun/access.d.ts +0 -8
  80. package/dist/d/maoyun/client.d.ts +0 -17
  81. package/dist/d/maoyun/index.d.ts +0 -2
  82. package/dist/d/maoyun/plugins/plugin-deploy-to-cdn.d.ts +0 -11
  83. package/dist/d/plesk/access.d.ts +0 -31
  84. package/dist/d/plesk/index.d.ts +0 -2
  85. package/dist/d/plesk/plugins/index.d.ts +0 -1
  86. package/dist/d/plesk/plugins/plugin-deploy-cert.d.ts +0 -11
  87. package/dist/d/plesk/plugins/plugin-refresh-cert.d.ts +0 -10
  88. package/dist/d/qiniu/index.d.ts +0 -1
  89. package/dist/d/qiniu/plugins/index.d.ts +0 -1
  90. package/dist/d/qiniu/plugins/plugin-deploy-to-oss.d.ts +0 -9
  91. package/dist/d/safeline/access.d.ts +0 -10
  92. package/dist/d/safeline/index.d.ts +0 -2
  93. package/dist/d/safeline/plugins/deploy-to-website.d.ts +0 -16
  94. package/dist/d/safeline/plugins/index.d.ts +0 -1
  95. package/dist/d/synology/access.d.ts +0 -22
  96. package/dist/d/synology/plugins/index.d.ts +0 -1
  97. package/dist/d/synology/plugins/plugin-deploy-to-panel.d.ts +0 -11
  98. package/dist/d/unicloud/access.d.ts +0 -7
  99. package/dist/d/unicloud/index.d.ts +0 -3
  100. package/dist/d/unicloud/plugins/index.d.ts +0 -1
  101. package/dist/d/unicloud/plugins/plugin-deploy-to-space.d.ts +0 -11
  102. package/dist/d/wxpay/access.d.ts +0 -13
  103. package/dist/d/wxpay/index.d.ts +0 -1
  104. package/dist/d/yidun/access-rcdn.d.ts +0 -9
  105. package/dist/d/yidun/access-sms.d.ts +0 -9
  106. package/dist/d/yidun/access.d.ts +0 -9
  107. package/dist/d/yidun/index.d.ts +0 -4
  108. package/dist/d/yidun/plugins/index.d.ts +0 -2
  109. package/dist/d/yidun/plugins/plugin-deploy-to-cdn.d.ts +0 -13
  110. package/dist/d/yidun/plugins/plugin-deploy-to-rcdn.d.ts +0 -17
  111. package/dist/d/yizhifu/access.d.ts +0 -8
  112. package/dist/d/yizhifu/index.d.ts +0 -1
  113. package/dist/util-9726341d.js +0 -1
  114. package/export-plugin-yaml.js +0 -99
  115. package/metadata/access_1panel.yaml +0 -81
  116. package/metadata/access_alipay.yaml +0 -29
  117. package/metadata/access_baidu.yaml +0 -22
  118. package/metadata/access_baishan.yaml +0 -15
  119. package/metadata/access_baota-waf.yaml +0 -36
  120. package/metadata/access_baota.yaml +0 -50
  121. package/metadata/access_cdnfly.yaml +0 -29
  122. package/metadata/access_k8s.yaml +0 -16
  123. package/metadata/access_kuocaicdn.yaml +0 -20
  124. package/metadata/access_lecdn.yaml +0 -27
  125. package/metadata/access_lucky.yaml +0 -29
  126. package/metadata/access_maoyun.yaml +0 -26
  127. package/metadata/access_plesk.yaml +0 -27
  128. package/metadata/access_safeline.yaml +0 -26
  129. package/metadata/access_synology.yaml +0 -80
  130. package/metadata/access_unicloud.yaml +0 -21
  131. package/metadata/access_wxpay.yaml +0 -40
  132. package/metadata/access_yfysms.yaml +0 -21
  133. package/metadata/access_yidun.yaml +0 -22
  134. package/metadata/access_yidunrcdn.yaml +0 -20
  135. package/metadata/access_yizhifu.yaml +0 -45
  136. package/metadata/deploy_1PanelDeployToWebsitePlugin.yaml +0 -60
  137. package/metadata/deploy_AliyunDeployCertToAll.yaml +0 -174
  138. package/metadata/deploy_BaiduDeployToCDN.yaml +0 -43
  139. package/metadata/deploy_BaishanUpdateCert.yaml +0 -47
  140. package/metadata/deploy_BaotaDeployPanelCert.yaml +0 -34
  141. package/metadata/deploy_BaotaDeployWebSiteCert.yaml +0 -85
  142. package/metadata/deploy_CdnflyDeployToCDN.yaml +0 -123
  143. package/metadata/deploy_CtyunDeployToCDN.yaml +0 -97
  144. package/metadata/deploy_DeployCertToAliyunAck.yaml +0 -122
  145. package/metadata/deploy_HostDeployToIIS.yaml +0 -76
  146. package/metadata/deploy_K8sDeployToIngress.yaml +0 -46
  147. package/metadata/deploy_K8sDeployToSecret.yaml +0 -50
  148. package/metadata/deploy_KuocaiDeployToRCDN.yaml +0 -59
  149. package/metadata/deploy_LeCDNUpdateCert.yaml +0 -57
  150. package/metadata/deploy_LeCDNUpdateCertV2.yaml +0 -58
  151. package/metadata/deploy_LuckyUpdateCert.yaml +0 -73
  152. package/metadata/deploy_MaoyunDeployToCdn.yaml +0 -72
  153. package/metadata/deploy_PleskDeploySiteCert.yaml +0 -72
  154. package/metadata/deploy_QiniuDeployCertToOSS.yaml +0 -39
  155. package/metadata/deploy_SafelineDeployToWebsitePlugin.yaml +0 -75
  156. package/metadata/deploy_SynologyDeployToPanel.yaml +0 -45
  157. package/metadata/deploy_UniCloudDeployToSpace.yaml +0 -64
  158. package/metadata/deploy_UploadCertToFTP.yaml +0 -171
  159. package/metadata/deploy_YidunDeployToCDN.yaml +0 -48
  160. package/metadata/deploy_YidunDeployToRCDN.yaml +0 -59
@@ -1,80 +0,0 @@
1
- name: synology
2
- title: 群晖登录授权
3
- desc: ''
4
- icon: simple-icons:synology
5
- input:
6
- version:
7
- title: 群晖版本
8
- component:
9
- name: a-select
10
- vModel: value
11
- options:
12
- - label: 7.x
13
- value: '7'
14
- - label: 6.x
15
- value: '6'
16
- required: true
17
- baseUrl:
18
- title: 群晖面板的url
19
- component:
20
- placeholder: https://yourdomain:5006
21
- helper: 群晖面板的访问地址,例如:https://yourdomain:5006
22
- required: true
23
- username:
24
- title: 账号
25
- component:
26
- placeholder: 账号
27
- helper: 群晖面板登录账号,必须是处于管理员用户组
28
- required: true
29
- password:
30
- title: 密码
31
- component:
32
- placeholder: 密码
33
- helper: 群晖面板登录密码
34
- required: true
35
- encrypt: true
36
- otp:
37
- title: 双重认证
38
- value: false
39
- component:
40
- name: a-switch
41
- vModel: checked
42
- helper: 是否启用了双重认证
43
- required: true
44
- deviceId:
45
- title: 设备ID
46
- component:
47
- placeholder: 设备ID
48
- name: synology-device-id-getter
49
- type: access
50
- typeName: synology
51
- mergeScript: |2-
52
-
53
- return {
54
- component:{
55
- form: ctx.compute(({form})=>{
56
- return form
57
- })
58
- },
59
- show: ctx.compute(({form})=>{
60
- return form.access.otp
61
- })
62
- }
63
-
64
- helper: |-
65
- 1.如果开启了双重认证,需要获取设备ID
66
- 2.填好上面的必填项,然后点击获取设备ID,输入双重认证APP上的码,确认即可获得设备ID,此操作只需要做一次
67
- 3.注意:必须勾选‘安全性->允许网页浏览器的用户通过信任设备来跳过双重验证
68
- 4.注意:在群晖信任设备页面里面会生成一条记录,不要删除
69
- required: false
70
- encrypt: true
71
- skipSslVerify:
72
- title: 忽略证书校验
73
- value: true
74
- component:
75
- name: a-switch
76
- vModel: checked
77
- helper: 如果面板的url是https,且使用的是自签名证书,则需要开启此选项,其他情况可以关闭
78
- type: builtIn
79
- pluginType: access
80
- scriptFilePath: ../../synology/index.js
@@ -1,21 +0,0 @@
1
- name: unicloud
2
- title: uniCloud
3
- icon: material-symbols:shield-outline
4
- desc: unicloud授权
5
- input:
6
- email:
7
- title: 账号
8
- component:
9
- placeholder: email
10
- helper: 登录邮箱
11
- required: true
12
- encrypt: false
13
- password:
14
- title: 密码
15
- component:
16
- placeholder: 密码
17
- required: true
18
- encrypt: true
19
- type: builtIn
20
- pluginType: access
21
- scriptFilePath: ../../unicloud/index.js
@@ -1,40 +0,0 @@
1
- name: wxpay
2
- title: 微信支付
3
- icon: tdesign:logo-wechatpay-filled
4
- input:
5
- appId:
6
- title: AppId
7
- component:
8
- placeholder: 201909176714xxxx
9
- required: true
10
- encrypt: false
11
- mchid:
12
- title: 商户ID
13
- component:
14
- placeholder: 201909176714xxxx
15
- required: true
16
- encrypt: false
17
- publicKey:
18
- title: 公钥
19
- component:
20
- name: a-textarea
21
- rows: 3
22
- placeholder: MIIBIjANBg...
23
- required: true
24
- encrypt: true
25
- privateKey:
26
- title: 私钥
27
- component:
28
- placeholder: MIIEvQIBADANB...
29
- name: a-textarea
30
- rows: 3
31
- required: true
32
- encrypt: true
33
- key:
34
- title: APIv3密钥
35
- helper: 微信商户平台—>账户设置—>API安全—>设置APIv3密钥
36
- required: true
37
- encrypt: true
38
- type: builtIn
39
- pluginType: access
40
- scriptFilePath: ../../wxpay/index.js
@@ -1,21 +0,0 @@
1
- name: yfysms
2
- title: 易发云短信
3
- icon: material-symbols:shield-outline
4
- desc: sms.yfyidc.cn/
5
- input:
6
- keyId:
7
- title: KeyID
8
- component:
9
- placeholder: api_key
10
- helper: '[获取密钥](http://sms.yfyidc.cn/user/index#)'
11
- required: true
12
- encrypt: true
13
- keySecret:
14
- title: KeySecret
15
- component:
16
- placeholder: ''
17
- required: true
18
- encrypt: true
19
- type: builtIn
20
- pluginType: access
21
- scriptFilePath: ../../yidun/index.js
@@ -1,22 +0,0 @@
1
- name: yidun
2
- title: 易盾DCDN授权
3
- icon: material-symbols:shield-outline
4
- desc: https://user.yiduncdn.com
5
- input:
6
- apiKey:
7
- title: api_key
8
- component:
9
- placeholder: api_key
10
- helper: http://user.yiduncdn.com/console/index.html#/account/config/api,点击开启后获取
11
- required: true
12
- encrypt: true
13
- apiSecret:
14
- title: api_secret
15
- component:
16
- placeholder: api_secret
17
- helper: http://user.yiduncdn.com/console/index.html#/account/config/api,点击开启后获取
18
- required: true
19
- encrypt: true
20
- type: builtIn
21
- pluginType: access
22
- scriptFilePath: ../../yidun/index.js
@@ -1,20 +0,0 @@
1
- name: yidunrcdn
2
- title: 易盾rcdn授权
3
- icon: material-symbols:shield-outline
4
- desc: 易盾CDN,每月免费30G,[注册即领](https://rhcdn.yiduncdn.com/register?code=8mn536rrzfbf8)
5
- input:
6
- username:
7
- title: 账户
8
- component:
9
- placeholder: 手机号
10
- required: true
11
- encrypt: true
12
- password:
13
- title: 密码
14
- component:
15
- placeholder: password
16
- required: true
17
- encrypt: true
18
- type: builtIn
19
- pluginType: access
20
- scriptFilePath: ../../yidun/index.js
@@ -1,45 +0,0 @@
1
- name: yizhifu
2
- title: 易支付
3
- icon: svg:icon-yizhifu
4
- input:
5
- url:
6
- title: url
7
- component:
8
- placeholder: https://pay.xxxx.com
9
- helper: 易支付系统地址
10
- required: true
11
- encrypt: false
12
- pid:
13
- title: 商户id
14
- component:
15
- placeholder: pid
16
- required: true
17
- encrypt: false
18
- key:
19
- title: key
20
- component:
21
- placeholder: key
22
- required: true
23
- encrypt: true
24
- payType:
25
- title: 固定支付方式
26
- component:
27
- placeholder: 固定一种支付方式,也就是submit.php中的type参数
28
- helper: 不填则跳转到收银台由用户自己选择,如果您的易支付系统不支持收银台,则必须填写
29
- required: false
30
- encrypt: false
31
- signType:
32
- title: 签名方式
33
- component:
34
- name: a-select
35
- vModel: value
36
- options:
37
- - label: MD5
38
- value: MD5
39
- - label: SHA256
40
- value: SHA256
41
- required: true
42
- encrypt: false
43
- type: builtIn
44
- pluginType: access
45
- scriptFilePath: ../../yizhifu/index.js
@@ -1,60 +0,0 @@
1
- showRunStrategy: false
2
- default:
3
- strategy:
4
- runStrategy: 1
5
- name: 1PanelDeployToWebsitePlugin
6
- title: 1Panel-部署证书到1Panel
7
- icon: svg:icon-onepanel
8
- desc: 更新1Panel的证书
9
- group: panel
10
- needPlus: false
11
- input:
12
- accessId:
13
- title: 1Panel授权
14
- helper: 1Panel授权
15
- component:
16
- name: access-selector
17
- type: 1panel
18
- required: true
19
- order: 0
20
- sslIds:
21
- title: 1Panel证书ID
22
- component:
23
- name: remote-select
24
- vModel: value
25
- mode: tags
26
- type: plugin
27
- typeName: 1PanelDeployToWebsitePlugin
28
- action: onGetSSLIds
29
- watches:
30
- - certDomains
31
- - accessId
32
- - accessId
33
- required: true
34
- mergeScript: |2-
35
-
36
- return {
37
- component:{
38
- form: ctx.compute(({form})=>{
39
- return form
40
- })
41
- },
42
- }
43
-
44
- helper: 要更新的1Panel证书id,选择授权之后,从下拉框中选择
45
- order: 0
46
- cert:
47
- title: 域名证书
48
- helper: 请选择前置任务输出的域名证书
49
- component:
50
- name: output-selector
51
- from:
52
- - CertApply
53
- - CertApplyLego
54
- - CertApplyUpload
55
- required: true
56
- order: 0
57
- output: {}
58
- type: builtIn
59
- pluginType: deploy
60
- scriptFilePath: ../../1panel/plugins/index.js
@@ -1,174 +0,0 @@
1
- showRunStrategy: false
2
- default:
3
- strategy:
4
- runStrategy: 1
5
- name: AliyunDeployCertToAll
6
- title: 阿里云-部署至任意云资源
7
- icon: svg:icon-aliyun
8
- group: aliyun
9
- desc: >-
10
- 【不建议使用】需要消耗阿里云自动部署次数,支持SLB、LIVE、webHosting、VOD、CR、DCDN、DDoS、CDN、ALB、APIGateway、FC、GA、MSE、NLB、OSS、SAE、WAF等云产品
11
- needPlus: false
12
- input:
13
- cert:
14
- title: 域名证书
15
- helper: |-
16
- 请选择证书申请任务输出的域名证书
17
- 或者选择前置任务“上传证书到阿里云”任务的证书ID,可以减少上传到阿里云的证书数量
18
- component:
19
- name: output-selector
20
- from:
21
- - CertApply
22
- - CertApplyLego
23
- - CertApplyUpload
24
- - uploadCertToAliyun
25
- required: true
26
- order: 0
27
- certDomains:
28
- title: 当前证书域名
29
- component:
30
- name: cert-domains-getter
31
- mergeScript: |2-
32
-
33
- return {
34
- component:{
35
- inputKey: ctx.compute(({form})=>{
36
- return form.cert
37
- }),
38
- }
39
- }
40
-
41
- required: false
42
- order: 0
43
- endpoint:
44
- title: 接入点
45
- helper: 不会选就按默认
46
- value: cas.aliyuncs.com
47
- component:
48
- name: a-select
49
- options:
50
- - value: cas.aliyuncs.com
51
- label: 中国大陆
52
- - value: cas.ap-southeast-1.aliyuncs.com
53
- label: 新加坡
54
- - value: cas.eu-central-1.aliyuncs.com
55
- label: 德国(法兰克福)
56
- required: true
57
- order: 0
58
- accessId:
59
- title: Access授权
60
- helper: 阿里云授权AccessKeyId、AccessKeySecret
61
- component:
62
- name: access-selector
63
- type: aliyun
64
- required: true
65
- order: 0
66
- cloudProduct:
67
- title: 云产品类型
68
- helper: 请选择云产品类型
69
- component:
70
- name: a-select
71
- vModel: value
72
- options:
73
- - value: SLB
74
- label: SLB-传统型负载均衡 CLB(仅中国站)
75
- - value: LIVE
76
- label: LIVE-视频直播(仅中国站)
77
- - value: webHosting
78
- label: webHosting-云虚拟主机(仅中国站)
79
- - value: VOD
80
- label: VOD-视频点播(仅中国站)
81
- - value: CR
82
- label: CR-容器镜像服务(仅中国站)
83
- - value: DCDN
84
- label: DCDN-全站加速
85
- - value: DDoS
86
- label: DDos 防护
87
- - value: CDN
88
- label: CDN-内容分发网络
89
- - value: ALB
90
- label: ALB-应用负载均衡
91
- - value: APIGateway
92
- label: APIGateway-API 网关
93
- - value: FC
94
- label: FC-函数计算
95
- - value: GA
96
- label: GA-全球加速
97
- - value: MSE
98
- label: MSE-微服务引擎
99
- - value: NLB
100
- label: NLB-网络型负载均衡
101
- - value: OSS
102
- label: OSS-对象存储
103
- - value: SAE
104
- label: SAE-Serverless应用引擎
105
- - value: WAF
106
- label: WAF-Web应用防火墙
107
- required: true
108
- order: 0
109
- productIds:
110
- title: 要部署证书的云产品
111
- component:
112
- name: remote-select
113
- vModel: value
114
- mode: tags
115
- type: plugin
116
- typeName: AliyunDeployCertToAll
117
- action: onGetProductList
118
- watches:
119
- - certDomains
120
- - accessId
121
- - cloudProduct
122
- - accessId
123
- required: true
124
- mergeScript: |2-
125
-
126
- return {
127
- component:{
128
- form: ctx.compute(({form})=>{
129
- return form
130
- })
131
- },
132
- }
133
-
134
- helper: 请选择要部署证书的云产品,注意:新创建的云产品资源可能需要过1-2小时才会在此处显示
135
- order: 0
136
- contactIds:
137
- title: 联系人
138
- component:
139
- name: remote-select
140
- vModel: value
141
- mode: tags
142
- type: plugin
143
- typeName: AliyunDeployCertToAll
144
- action: onGetContactList
145
- watches:
146
- - certDomains
147
- - accessId
148
- required: true
149
- mergeScript: |2-
150
-
151
- return {
152
- component:{
153
- form: ctx.compute(({form})=>{
154
- return form
155
- })
156
- },
157
- }
158
-
159
- helper: >-
160
- 请选择联系人,如果没有,需要先到[阿里云控制台创建联系人](https://yundun.console.aliyun.com/?p=cas#/informationManagement/person/)
161
- order: 0
162
- checkTimeout:
163
- title: 检查超时时间
164
- helper: 检查部署任务超时时间,单位分钟
165
- value: 10
166
- component:
167
- name: a-input-number
168
- vModel: value
169
- required: true
170
- order: 0
171
- output: {}
172
- type: builtIn
173
- pluginType: deploy
174
- scriptFilePath: ../../aliyun/plugins/index.js
@@ -1,43 +0,0 @@
1
- showRunStrategy: false
2
- default:
3
- strategy:
4
- runStrategy: 1
5
- name: BaiduDeployToCDN
6
- title: 百度云-部署证书到CDN
7
- icon: ant-design:baidu-outlined
8
- group: cdn
9
- desc: 部署到百度云CDN
10
- needPlus: false
11
- input:
12
- domains:
13
- title: CDN域名
14
- component:
15
- name: a-select
16
- vModel: value
17
- mode: tags
18
- helper: ''
19
- required: true
20
- order: 0
21
- cert:
22
- title: 域名证书
23
- helper: 请选择前置任务输出的域名证书
24
- component:
25
- name: output-selector
26
- from:
27
- - CertApply
28
- - CertApplyLego
29
- - CertApplyUpload
30
- required: true
31
- order: 0
32
- accessId:
33
- title: 百度云授权
34
- helper: 百度云授权
35
- component:
36
- name: access-selector
37
- type: baidu
38
- required: true
39
- order: 0
40
- output: {}
41
- type: builtIn
42
- pluginType: deploy
43
- scriptFilePath: ../../baidu/plugins/plugin-deploy-to-cdn.js
@@ -1,47 +0,0 @@
1
- showRunStrategy: false
2
- default:
3
- strategy:
4
- runStrategy: 1
5
- name: BaishanUpdateCert
6
- title: 白山云-更新证书
7
- icon: material-symbols:shield-outline
8
- group: cdn
9
- needPlus: false
10
- input:
11
- certId:
12
- title: 证书ID
13
- component:
14
- name: a-input-number
15
- vModel: value
16
- helper: 证书ID,在证书管理页面查看,每条记录都有证书id
17
- order: 0
18
- certName:
19
- title: 证书名称
20
- component:
21
- name: a-input
22
- vModel: value
23
- helper: 给证书设置一个名字,便于区分
24
- order: 0
25
- cert:
26
- title: 域名证书
27
- helper: 请选择前置任务输出的域名证书
28
- component:
29
- name: output-selector
30
- from:
31
- - CertApply
32
- - CertApplyLego
33
- - CertApplyUpload
34
- required: true
35
- order: 0
36
- accessId:
37
- title: 白山云授权
38
- helper: 白山云授权
39
- component:
40
- name: access-selector
41
- type: baishan
42
- required: true
43
- order: 0
44
- output: {}
45
- type: builtIn
46
- pluginType: deploy
47
- scriptFilePath: ../../baishan/plugins/plugin-update-cert.js
@@ -1,34 +0,0 @@
1
- showRunStrategy: false
2
- default:
3
- strategy:
4
- runStrategy: 1
5
- name: BaotaDeployPanelCert
6
- title: 宝塔-面板证书部署
7
- icon: svg:icon-bt
8
- group: panel
9
- desc: 部署宝塔面板本身的ssl证书
10
- needPlus: true
11
- input:
12
- cert:
13
- title: 域名证书
14
- helper: 请选择前置任务输出的域名证书
15
- component:
16
- name: output-selector
17
- from:
18
- - CertApply
19
- - CertApplyLego
20
- - CertApplyUpload
21
- required: true
22
- order: 0
23
- accessId:
24
- title: 宝塔授权
25
- helper: baota的接口密钥,目前测试宝塔面板本身开启ssl之后,API接口就不能用了
26
- component:
27
- name: access-selector
28
- type: baota
29
- required: true
30
- order: 0
31
- output: {}
32
- type: builtIn
33
- pluginType: deploy
34
- scriptFilePath: ../../baota/plugins/plugin-deploy-to-panel.js
@@ -1,85 +0,0 @@
1
- showRunStrategy: false
2
- default:
3
- strategy:
4
- runStrategy: 1
5
- name: BaotaDeployWebSiteCert
6
- title: 宝塔-网站证书部署
7
- icon: svg:icon-bt
8
- group: panel
9
- desc: 部署宝塔管理的站点的ssl证书,目前支持网站站点、docker站点等。本插件也支持aaPanel。
10
- needPlus: false
11
- input:
12
- cert:
13
- title: 域名证书
14
- helper: 请选择前置任务输出的域名证书
15
- component:
16
- name: output-selector
17
- from:
18
- - CertApply
19
- - CertApplyLego
20
- - CertApplyUpload
21
- required: true
22
- order: 0
23
- certDomains:
24
- title: 当前证书域名
25
- component:
26
- name: cert-domains-getter
27
- mergeScript: |2-
28
-
29
- return {
30
- component:{
31
- inputKey: ctx.compute(({form})=>{
32
- return form.cert
33
- }),
34
- }
35
- }
36
-
37
- required: true
38
- order: 0
39
- accessId:
40
- title: 宝塔授权
41
- helper: baota的接口密钥
42
- component:
43
- name: access-selector
44
- type: baota
45
- required: true
46
- order: 0
47
- isDockerSite:
48
- title: 是否Docker站点
49
- value: false
50
- component:
51
- name: a-switch
52
- vModel: checked
53
- helper: 是否为docker站点
54
- required: true
55
- order: 0
56
- siteName:
57
- title: 站点名称
58
- component:
59
- name: remote-select
60
- vModel: value
61
- mode: tags
62
- action: GetSiteList
63
- watches:
64
- - certDomains
65
- - accessId
66
- - isDockerSite
67
- required: true
68
- mergeScript: |2-
69
-
70
- return {
71
- component:{
72
- form: ctx.compute(({form})=>{
73
- return form
74
- })
75
- },
76
- }
77
-
78
- helper: |-
79
- 将会自动获取证书匹配的站点名称
80
- 宝塔版本低于9.0.0时,此处会获取失败,忽略错误,手动输入站点域名即可
81
- order: 0
82
- output: {}
83
- type: builtIn
84
- pluginType: deploy
85
- scriptFilePath: ../../baota/plugins/plugin-deploy-to-website.js