mirror of https://github.com/certd/certd
chore:
parent
021dc5b82c
commit
d24fb6ed48
|
@ -1,27 +1,27 @@
|
||||||
name: AliyunAccess
|
name: AliyunAccess
|
||||||
|
author: greper
|
||||||
version: 1.0.0
|
version: 1.0.0
|
||||||
|
minCertdVersion: 1.31.11
|
||||||
title: 阿里云授权
|
title: 阿里云授权
|
||||||
desc: 阿里云授权
|
desc: 阿里云授权
|
||||||
icon: fa-cloud
|
icon: fa-cloud
|
||||||
author:
|
|
||||||
id:
|
|
||||||
name:
|
|
||||||
email:
|
|
||||||
link:
|
|
||||||
type: access
|
type: access
|
||||||
input:
|
|
||||||
accessKeyId:
|
|
||||||
title: AccessKeyId
|
|
||||||
type: string
|
|
||||||
component:
|
|
||||||
name: a-input
|
|
||||||
required: true
|
|
||||||
helper: 访问密钥ID
|
|
||||||
accessKeySecret:
|
|
||||||
type: string
|
|
||||||
title: AccessKeySecret
|
|
||||||
encrypt: true
|
|
||||||
|
|
||||||
|
metadata:
|
||||||
|
dependencies:
|
||||||
|
- "@alicloud/pop-core": "^1.7.10"
|
||||||
|
input:
|
||||||
|
accessKeyId:
|
||||||
|
title: AccessKeyId
|
||||||
|
type: string
|
||||||
|
component:
|
||||||
|
name: a-input
|
||||||
|
required: true
|
||||||
|
helper: 访问密钥ID
|
||||||
|
accessKeySecret:
|
||||||
|
type: string
|
||||||
|
title: AccessKeySecret
|
||||||
|
encrypt: true
|
||||||
script: |
|
script: |
|
||||||
import { AccessInput, BaseAccess, IsAccess } from '@certd/pipeline';
|
import { AccessInput, BaseAccess, IsAccess } from '@certd/pipeline';
|
||||||
class AliyunAccess extends BaseAccess {
|
class AliyunAccess extends BaseAccess {
|
||||||
|
|
|
@ -0,0 +1,21 @@
|
||||||
|
name: AliyunSdk
|
||||||
|
version: 1.0.0
|
||||||
|
title: 阿里云SDK
|
||||||
|
desc: 阿里云SDK
|
||||||
|
icon: fa-cloud
|
||||||
|
author:
|
||||||
|
pluginType: sdk
|
||||||
|
metadata:
|
||||||
|
types: |
|
||||||
|
{
|
||||||
|
AliyunClient: xxx
|
||||||
|
}
|
||||||
|
script: |
|
||||||
|
class AliyunClient extends BaseAccess {
|
||||||
|
accessKeyId = '';
|
||||||
|
secretAccessKey = '';
|
||||||
|
}
|
||||||
|
|
||||||
|
return {
|
||||||
|
AliyunClient
|
||||||
|
}
|
Loading…
Reference in New Issue