mirror of
https://github.com/certd/certd.git
synced 2026-05-16 21:27:34 +08:00
pref: 日志中加密授权信息输出替换成星号
This commit is contained in:
@@ -108,7 +108,7 @@ export class AliyunDeployCertToALB extends AbstractTaskPlugin {
|
||||
|
||||
async execute(): Promise<void> {
|
||||
this.logger.info(`开始部署证书到阿里云(alb)`);
|
||||
const access = await this.accessService.getById<AliyunAccess>(this.accessId);
|
||||
const access = await this.getAccess<AliyunAccess>(this.accessId);
|
||||
const certId = await this.getAliyunCertId(access);
|
||||
|
||||
const client = await this.getLBClient(access, this.regionId);
|
||||
@@ -155,7 +155,7 @@ export class AliyunDeployCertToALB extends AbstractTaskPlugin {
|
||||
if (!this.accessId) {
|
||||
throw new Error('请选择Access授权');
|
||||
}
|
||||
const access = await this.accessService.getById<AliyunAccess>(this.accessId);
|
||||
const access = await this.getAccess<AliyunAccess>(this.accessId);
|
||||
const client = await this.getLBClient(access, 'cn-shanghai');
|
||||
|
||||
const res = await client.request('DescribeRegions', {});
|
||||
@@ -180,7 +180,7 @@ export class AliyunDeployCertToALB extends AbstractTaskPlugin {
|
||||
if (!this.regionId) {
|
||||
throw new Error('请先选择地区');
|
||||
}
|
||||
const access = await this.accessService.getById<AliyunAccess>(this.accessId);
|
||||
const access = await this.getAccess<AliyunAccess>(this.accessId);
|
||||
const client = await this.getLBClient(access, this.regionId);
|
||||
|
||||
const params = {
|
||||
@@ -208,7 +208,7 @@ export class AliyunDeployCertToALB extends AbstractTaskPlugin {
|
||||
if (!this.regionId) {
|
||||
throw new Error('请先选择地区');
|
||||
}
|
||||
const access = await this.accessService.getById<AliyunAccess>(this.accessId);
|
||||
const access = await this.getAccess<AliyunAccess>(this.accessId);
|
||||
const client = await this.getLBClient(access, this.regionId);
|
||||
|
||||
const params: any = {
|
||||
|
||||
Reference in New Issue
Block a user