mirror of https://github.com/certd/certd
chore:
parent
021dc5b82c
commit
d24fb6ed48
|
@ -1,14 +1,15 @@
|
|||
name: AliyunAccess
|
||||
author: greper
|
||||
version: 1.0.0
|
||||
minCertdVersion: 1.31.11
|
||||
title: 阿里云授权
|
||||
desc: 阿里云授权
|
||||
icon: fa-cloud
|
||||
author:
|
||||
id:
|
||||
name:
|
||||
email:
|
||||
link:
|
||||
type: access
|
||||
|
||||
metadata:
|
||||
dependencies:
|
||||
- "@alicloud/pop-core": "^1.7.10"
|
||||
input:
|
||||
accessKeyId:
|
||||
title: AccessKeyId
|
||||
|
@ -21,7 +22,6 @@ input:
|
|||
type: string
|
||||
title: AccessKeySecret
|
||||
encrypt: true
|
||||
|
||||
script: |
|
||||
import { AccessInput, BaseAccess, IsAccess } from '@certd/pipeline';
|
||||
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