mirror of
https://github.com/certd/certd.git
synced 2026-05-18 14:27:36 +08:00
pref: 日志中加密授权信息输出替换成星号
This commit is contained in:
+2
-2
@@ -51,7 +51,7 @@ export class TencentDeployCertToCDNv2 extends AbstractTaskPlugin {
|
||||
async onInstance() {}
|
||||
|
||||
async execute(): Promise<void> {
|
||||
const access = await this.accessService.getById<TencentAccess>(this.accessId);
|
||||
const access = await this.getAccess<TencentAccess>(this.accessId);
|
||||
const sslClient = new TencentSslClient({
|
||||
access,
|
||||
logger: this.logger,
|
||||
@@ -82,7 +82,7 @@ export class TencentDeployCertToCDNv2 extends AbstractTaskPlugin {
|
||||
}
|
||||
|
||||
async getCdnClient() {
|
||||
const accessProvider = await this.accessService.getById<TencentAccess>(this.accessId);
|
||||
const accessProvider = await this.getAccess<TencentAccess>(this.accessId);
|
||||
const sdk = await import('tencentcloud-sdk-nodejs/tencentcloud/services/cdn/v20180606/index.js');
|
||||
const CdnClient = sdk.v20180606.Client;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user