mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
Add DNS made easy for PKI type
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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<{
|
||||
|
||||
Reference in New Issue
Block a user