mirror of
https://github.com/certd/certd.git
synced 2026-04-27 23:37:29 +08:00
chore:
This commit is contained in:
@@ -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
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user