mirror of https://github.com/certd/certd
feat: 完善注释
parent
4b44bd5e61
commit
6702ca10a1
|
@ -14,7 +14,7 @@ export class AwsIAMClient {
|
||||||
this.region = options.region;
|
this.region = options.region;
|
||||||
}
|
}
|
||||||
async importCertificate(certInfo: CertInfo, certName: string) {
|
async importCertificate(certInfo: CertInfo, certName: string) {
|
||||||
// 创建 ACM 客户端
|
// 创建 IAM 客户端
|
||||||
const { IAMClient, UploadServerCertificateCommand } = await import('@aws-sdk/client-iam');
|
const { IAMClient, UploadServerCertificateCommand } = await import('@aws-sdk/client-iam');
|
||||||
const iamClient = new IAMClient({
|
const iamClient = new IAMClient({
|
||||||
region: this.region, // 替换为您的 AWS 区域
|
region: this.region, // 替换为您的 AWS 区域
|
||||||
|
|
Loading…
Reference in New Issue