完成阿里云域名授权检查初版

This commit is contained in:
xuans committed 2026-09-14 21:27:13 +08:00
1 parent ca7c2786d8
commit b5733b0e7c
3 files changed
+323

No files matched your search

+1
View File
@@ -114,6 +114,7 @@ func NewWithConfigPath(ctx context.Context, cfg config.Config, configPath string
sshKeys := sshkey.NewService(secretStore)
accounts := certificate.NewAccountRepository(secretStore)
certificates := certificate.NewService(cfg, repo, secretStore, dnsprovider.NewLegoFactory(), accounts)
certificates.SetDNSAuthorizationChecker(dnsprovider.NewAliyunAuthorizationChecker())
deploymentService := deployment.NewService(deployment.SSHFactory{Secrets: secretStore})
notifier := notification.New(cfg.Notification, secretStore)
remoteValidator := certificate.RemoteValidator{}