Add DNS made easy for PKI type

This commit is contained in:
Fang-Pen Lin
2025-11-21 12:10:30 -08:00
parent 8c59579e1e
commit 6b4d5c95f3
2 changed files with 5 additions and 5 deletions

View File

@@ -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) {

View File

@@ -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<{