mirror of https://github.com/certd/certd
perf: 部署到阿里云任意云资源,阿里云部署大杀器
parent
98ef9aa479
commit
4075be7849
|
@ -26,3 +26,6 @@
|
|||
padding-inline:revert;
|
||||
}
|
||||
|
||||
.fs-form-wrapper .fs-form-header {
|
||||
padding-right: 30px;
|
||||
}
|
||||
|
|
|
@ -92,7 +92,7 @@ export class UploadCertToAliyun extends AbstractTaskPlugin {
|
|||
accessKeyId: aliyunProvider.accessKeyId,
|
||||
accessKeySecret: aliyunProvider.accessKeySecret,
|
||||
endpoint: 'https://cas.aliyuncs.com',
|
||||
apiVersion: '2018-07-13',
|
||||
apiVersion: '2020-04-07',
|
||||
});
|
||||
return client;
|
||||
}
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
import { TencentAccess } from '@certd/plugin-plus';
|
||||
import { CertInfo } from '@certd/plugin-cert';
|
||||
import { ILogger } from '@certd/pipeline';
|
||||
import sdk from 'tencentcloud-sdk-nodejs/tencentcloud/services/ssl/v20191205/index.js';
|
||||
export class TencentSslClient {
|
||||
access: TencentAccess;
|
||||
logger: ILogger;
|
||||
|
@ -12,7 +11,7 @@ export class TencentSslClient {
|
|||
this.region = opts.region;
|
||||
}
|
||||
async getSslClient(): Promise<any> {
|
||||
// const sdk = await import('tencentcloud-sdk-nodejs/tencentcloud/services/ssl/v20191205/index.js');
|
||||
const sdk = await import('tencentcloud-sdk-nodejs/tencentcloud/services/ssl/v20191205/index.js');
|
||||
const SslClient = sdk.v20191205.Client;
|
||||
|
||||
const clientConfig = {
|
||||
|
|
|
@ -9,7 +9,7 @@ import { TencentSslClient } from '../../lib/index.js';
|
|||
needPlus: true,
|
||||
icon: 'svg:icon-tencentcloud',
|
||||
group: pluginGroups.tencent.key,
|
||||
desc: '部署到腾讯云COS源站域名证书',
|
||||
desc: '部署到腾讯云COS源站域名证书【注意:很不稳定,需要重试很多次偶尔才能成功一次】',
|
||||
default: {
|
||||
strategy: {
|
||||
runStrategy: RunStrategy.SkipWhenSucceed,
|
||||
|
|
Loading…
Reference in New Issue