mirror of
https://github.com/certd/certd.git
synced 2026-07-15 10:17:33 +08:00
chore: 完善第三方依赖动态加载
This commit is contained in:
@@ -15,7 +15,7 @@ export class AwsIAMClient {
|
||||
}
|
||||
async importCertificate(certInfo: CertInfo, certName: string) {
|
||||
// 创建 IAM 客户端
|
||||
const { IAMClient, UploadServerCertificateCommand } = await import("@aws-sdk/client-iam");
|
||||
const { IAMClient, UploadServerCertificateCommand } = await this.access.importRuntime("@aws-sdk/client-iam");
|
||||
const iamClient = new IAMClient({
|
||||
region: this.region, // 替换为您的 AWS 区域
|
||||
credentials: {
|
||||
|
||||
Reference in New Issue
Block a user