mirror of
https://github.com/certd/certd.git
synced 2026-04-23 19:57:27 +08:00
pref: 日志中加密授权信息输出替换成星号
This commit is contained in:
@@ -61,7 +61,7 @@ export class JDCloudDeployToCDN extends AbstractTaskPlugin {
|
||||
|
||||
async execute(): Promise<void> {
|
||||
this.logger.info("开始部署证书到京东云CDN");
|
||||
const access = await this.accessService.getById<JDCloudAccess>(this.accessId);
|
||||
const access = await this.getAccess<JDCloudAccess>(this.accessId);
|
||||
|
||||
const service = await this.getClient(access);
|
||||
let certId = this.cert;
|
||||
@@ -145,7 +145,7 @@ export class JDCloudDeployToCDN extends AbstractTaskPlugin {
|
||||
if (!this.accessId) {
|
||||
throw new Error("请选择Access授权");
|
||||
}
|
||||
const access = await this.accessService.getById<JDCloudAccess>(this.accessId);
|
||||
const access = await this.getAccess<JDCloudAccess>(this.accessId);
|
||||
|
||||
const service = await this.getClient(access);
|
||||
/**
|
||||
|
||||
@@ -60,7 +60,7 @@ export class JDCloudUpdateCert extends AbstractTaskPlugin {
|
||||
async onInstance() {}
|
||||
async execute(): Promise<void> {
|
||||
this.logger.info('开始部署证书到京东云CDN');
|
||||
const access = await this.accessService.getById<JDCloudAccess>(this.accessId);
|
||||
const access = await this.getAccess<JDCloudAccess>(this.accessId);
|
||||
|
||||
const service = await this.getClient(access)
|
||||
// let certId = this.cert
|
||||
@@ -119,7 +119,7 @@ export class JDCloudUpdateCert extends AbstractTaskPlugin {
|
||||
if (!this.accessId) {
|
||||
throw new Error('请选择Access授权');
|
||||
}
|
||||
const access = await this.accessService.getById<JDCloudAccess>(this.accessId);
|
||||
const access = await this.getAccess<JDCloudAccess>(this.accessId);
|
||||
|
||||
const service = await this.getClient(access);
|
||||
/**
|
||||
|
||||
@@ -56,7 +56,7 @@ export class JDCloudUploadCert extends AbstractTaskPlugin {
|
||||
|
||||
async execute(): Promise<void> {
|
||||
this.logger.info("开始上传证书到京东云数字证书中心");
|
||||
const access = await this.accessService.getById<JDCloudAccess>(this.accessId);
|
||||
const access = await this.getAccess<JDCloudAccess>(this.accessId);
|
||||
|
||||
const service = await this.getClient(access);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user