From 6b4d5c95f3bace48dc0ba5ace4df82f1d045a96c Mon Sep 17 00:00:00 2001 From: Fang-Pen Lin Date: Fri, 21 Nov 2025 12:10:30 -0800 Subject: [PATCH] Add DNS made easy for PKI type --- backend/src/services/app-connection/app-connection-fns.ts | 6 +++--- .../acme/dns-providers/dns-made-easy.ts | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/backend/src/services/app-connection/app-connection-fns.ts b/backend/src/services/app-connection/app-connection-fns.ts index a5d9c1ed8..145c6c3ed 100644 --- a/backend/src/services/app-connection/app-connection-fns.ts +++ b/backend/src/services/app-connection/app-connection-fns.ts @@ -176,7 +176,8 @@ const PKI_APP_CONNECTIONS = [ AppConnection.Cloudflare, AppConnection.AzureADCS, AppConnection.AzureKeyVault, - AppConnection.Chef + AppConnection.Chef, + AppConnection.DNSMadeEasy ]; export const listAppConnectionOptions = (projectType?: ProjectType) => { @@ -223,8 +224,7 @@ export const listAppConnectionOptions = (projectType?: ProjectType) => { getNorthflankConnectionListItem(), getOktaConnectionListItem(), getRedisConnectionListItem(), - getChefConnectionListItem(), - getDNSMadeEasyConnectionListItem() + getChefConnectionListItem() ] .filter((option) => { switch (projectType) { diff --git a/backend/src/services/certificate-authority/acme/dns-providers/dns-made-easy.ts b/backend/src/services/certificate-authority/acme/dns-providers/dns-made-easy.ts index 87c21e264..7dd405a5a 100644 --- a/backend/src/services/certificate-authority/acme/dns-providers/dns-made-easy.ts +++ b/backend/src/services/certificate-authority/acme/dns-providers/dns-made-easy.ts @@ -18,7 +18,7 @@ export const dnsMadeEasyInsertTxtRecord = async ( credentials: { apiKey, secretKey } } = connection; - logger.info({ hostedZoneId, domain, value }, "Inserting TXT record for DNS Made Easy"); + logger.info({ hostedZoneId, domain }, "Inserting TXT record for DNS Made Easy"); try { await request.post( getDNSMadeEasyUrl(`/V2.0/dns/managed/${encodeURIComponent(hostedZoneId)}/records`), @@ -65,7 +65,7 @@ export const dnsMadeEasyDeleteTxtRecord = async ( credentials: { apiKey, secretKey } } = connection; - logger.info({ hostedZoneId, domain, value }, "Deleting TXT record for DNS Made Easy"); + logger.info({ hostedZoneId, domain }, "Deleting TXT record for DNS Made Easy"); try { // First, list records to find the record ID const listRecordsResponse = await request.get<{