@serverless-devs/kv
Version:
发布 阿里云 jamstack 站点 kvstore 的组件
31 lines (29 loc) • 774 B
text/typescript
export interface ICredentials {
AccountID?: string,
AccessKeyID?: string,
AccessKeySecret?: string,
SecretID?: string,
SecretKey?: string,
SecretAccessKey?: string,
KeyVaultName?: string,
TenantID?: string,
ClientID?: string,
ClientSecret?: string,
PrivateKeyData?: string
}
export interface InputProps {
props: any, // 用户自定义输入
credentials: ICredentials, // 用户秘钥
appName: string, //
project: {
component: string, // 组件名(支持本地绝对路径)
access: string, // 访问秘钥名
projectName: string, // 项目名
},
command: string, // 执行指令
args: string, // 命令行 扩展参数
argsObj: string[], // 数组格式的参数
path: {
configPath: string // 配置路径
}
}