Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
Add option
Fang-Pen Lin101470c4b37a
diff --git a/backend/src/server/routes/v1/app-connection-routers/app-connection-router.ts b/backend/src/server/routes/v1/app-connection-routers/app-connection-router.tsindex 5a34967509..48fdc7c381 100644--- a/backend/src/server/routes/v1/app-connection-routers/app-connection-router.ts+++ b/backend/src/server/routes/v1/app-connection-routers/app-connection-router.ts@@ -61,6 +61,10 @@ import {DigitalOceanConnectionListItemSchema,SanitizedDigitalOceanConnectionSchema} from "@app/services/app-connection/digital-ocean";+import {+ DNSMadeEasyConnectionListItemSchema,+ SanitizedDNSMadeEasyConnectionSchema+} from "@app/services/app-connection/dns-made-easy/dns-made-easy-connection-schema";import { FlyioConnectionListItemSchema, SanitizedFlyioConnectionSchema } from "@app/services/app-connection/flyio";import { GcpConnectionListItemSchema, SanitizedGcpConnectionSchema } from "@app/services/app-connection/gcp";import { GitHubConnectionListItemSchema, SanitizedGitHubConnectionSchema } from "@app/services/app-connection/github";@@ -170,7 +174,8 @@ const SanitizedAppConnectionSchema = z.union([...SanitizedAzureADCSConnectionSchema.options,...SanitizedRedisConnectionSchema.options,...SanitizedLaravelForgeConnectionSchema.options,- ...SanitizedChefConnectionSchema.options+ ...SanitizedChefConnectionSchema.options,+ ...SanitizedDNSMadeEasyConnectionSchema.options]);const AppConnectionOptionsSchema = z.discriminatedUnion("app", [@@ -215,7 +220,8 @@ const AppConnectionOptionsSchema = z.discriminatedUnion("app", [AzureADCSConnectionListItemSchema,RedisConnectionListItemSchema,LaravelForgeConnectionListItemSchema,- ChefConnectionListItemSchema+ ChefConnectionListItemSchema,+ DNSMadeEasyConnectionListItemSchema]);export const registerAppConnectionRouter = async (server: FastifyZodProvider) => {diff --git a/backend/src/services/app-connection/app-connection-fns.ts b/backend/src/services/app-connection/app-connection-fns.tsindex 5b03dc9033..a5d9c1ed88 100644--- a/backend/src/services/app-connection/app-connection-fns.ts+++ b/backend/src/services/app-connection/app-connection-fns.ts@@ -223,7 +223,8 @@ export const listAppConnectionOptions = (projectType?: ProjectType) => {getNorthflankConnectionListItem(),getOktaConnectionListItem(),getRedisConnectionListItem(),- getChefConnectionListItem()+ getChefConnectionListItem(),+ getDNSMadeEasyConnectionListItem()].filter((option) => {switch (projectType) {diff --git a/frontend/public/images/integrations/DNSMadeEasy.svg b/frontend/public/images/integrations/DNSMadeEasy.svgnew file mode 100644index 0000000000..be77b98403--- /dev/null+++ b/frontend/public/images/integrations/DNSMadeEasy.svg@@ -0,0 +1,80 @@+<?xml version="1.0" encoding="utf-8"?>+<!-- Generator: Adobe Illustrator 24.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->+<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"+ viewBox="0 0 120 60" width="120" height="60" style="enable-background:new 0 0 120 60;" xml:space="preserve">+<style type="text/css">+ .st0{fill:#808285;}+ .st1{fill:url(#SVGID_1_);}+ .st2{fill:#005B99;}+ .st3{enable-background:new ;}+ .st4{fill:#77787B;}+</style>+<g>+ <path class="st0" d="M34.1,42.6h9.4v-3.2C41.5,41.2,38.2,42.3,34.1,42.6L34.1,42.6z"/>+ <path class="st0" d="M17.3,40.1v2.5h11.9c-2.4-0.2-5-0.6-7.6-1.2C20.1,41,18.7,40.6,17.3,40.1L17.3,40.1z"/>++ <radialGradient id="SVGID_1_" cx="-183.5882" cy="811.1324" r="47.498" gradientTransform="matrix(1 0 0 1 241.0864 -776.3726)" gradientUnits="userSpaceOnUse">+ <stop offset="0" style="stop-color:#0095DA"/>+ <stop offset="0.21" style="stop-color:#0095DA"/>+ <stop offset="0.33" style="stop-color:#00ACE4"/>+ <stop offset="0.9045" style="stop-color:#005093"/>+ <stop offset="0.9335" style="stop-color:#005396"/>+ <stop offset="0.954" style="stop-color:#005C9F"/>+ <stop offset="0.9718" style="stop-color:#006BAE"/>+ <stop offset="0.988" style="stop-color:#0080C4"/>+ <stop offset="1" style="stop-color:#0095DA"/>+ </radialGradient>+ <path class="st1" d="M43.5,18.5H29.2C23,17.1,15.4,17.1,10,18.2c2.4-0.3,5.1-0.3,7.8,0.1c0.7,0.1,1.3,0.2,2,0.3l0,0+ c2.9,0.5,5.7,1.2,8.1,2.2l0,0c0.3,0.1,0.5,0.2,0.8,0.3h0c0.1,0,0.2,0.1,0.3,0.1h0c0.1,0,0.2,0.1,0.3,0.1h0c0.1,0,0.2,0.1,0.2,0.1+ l0,0c0.1,0,0.1,0.1,0.2,0.1l0,0c0.1,0,0.1,0.1,0.2,0.1l0,0c0.1,0,0.2,0.1,0.2,0.1l0,0l0,0h0c0.1,0,0.1,0.1,0.2,0.1l0,0+ c0.1,0,0.1,0.1,0.2,0.1l0,0c0.1,0,0.1,0.1,0.2,0.1l0,0c0.1,0,0.1,0.1,0.2,0.1l0,0c0.1,0,0.1,0.1,0.2,0.1l0,0c0.1,0,0.1,0.1,0.2,0.1+ l0.1,0c0.1,0,0.1,0.1,0.2,0.1l0.1,0c0.1,0,0.1,0.1,0.2,0.1l0.1,0c0.1,0,0.1,0.1,0.2,0.1l0.1,0c0.1,0,0.1,0.1,0.1,0.1l0.1,0.1+ c0.1,0,0.1,0.1,0.1,0.1l0.1,0.1c0.1,0,0.1,0.1,0.1,0.1l0.1,0.1c0,0,0.1,0.1,0.1,0.1c3.2,2.2,5.1,4.9,5.1,7.6c0,3.1-2.6,5.7-6.8,7.2+ c2.9-1.5,4.6-3.6,4.6-6.1c0-3.1-2.7-6.3-7-8.7c-0.1,0-0.1-0.1-0.2-0.1c-0.1,0-0.1-0.1-0.2-0.1c-0.1,0-0.1-0.1-0.2-0.1+ c-0.1,0-0.1-0.1-0.2-0.1c-0.1,0-0.1-0.1-0.2-0.1c-0.1,0-0.1-0.1-0.2-0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+ </g>+ <g class="st3">+ <path class="st4" d="M57.5,36.6v5h-1.4v-2.7v-0.7l0.1-0.4v-0.4h-0.1l-0.2,0.3l-0.2,0.3l-0.4,0.7l-1.7,2.8h-1.3l-1.7-2.8l-0.4-0.7+ l-0.2-0.3l-0.2-0.3h-0.1l0,0.4v0.4l0.1,0.7v2.7h-1.5v-5h2.4l1.4,2.3l0.4,0.7l0.2,0.3l0.2,0.3H53l0.2-0.3l0.2-0.3l0.4-0.7l1.4-2.3+ L57.5,36.6L57.5,36.6z"/>+ <path class="st4" d="M63.6,40.6h-3.3l-0.5,0.9h-1.6l2.6-5H63l2.6,5H64L63.6,40.6z M63.2,39.9l-1.3-2.6l-1.3,2.6H63.2z"/>+ <path class="st4" d="M66.2,41.6v-5H70c1,0,1.8,0.2,2.2,0.5s0.7,0.8,0.7,1.6c0,0.7,0,1.2-0.1,1.5c0,0.3-0.2,0.6-0.5,0.9+ c-0.3,0.3-1,0.5-2.3,0.5H66.2L66.2,41.6z M67.7,40.7h2.1c0.7,0,1.2-0.1,1.4-0.3s0.3-0.7,0.3-1.4c0-0.7-0.1-1.2-0.3-1.4+ s-0.6-0.3-1.3-0.3h-2.2L67.7,40.7L67.7,40.7z"/>+ <path class="st4" d="M75.3,37.4v1.3h3.6v0.7h-3.6v1.4h3.8v0.8h-5.3v-5h5.3v0.8L75.3,37.4L75.3,37.4z"/>+ <path class="st4" d="M84.4,37.4v1.3H88v0.7h-3.6v1.4h3.8v0.8H83v-5h5.3v0.8L84.4,37.4L84.4,37.4z"/>+ <path class="st4" d="M94,40.6h-3.3l-0.5,0.9h-1.6l2.6-5h2.2l2.6,5h-1.5L94,40.6z M93.7,39.9l-1.3-2.6L91,39.9H93.7z"/>+ <path class="st4" d="M102.4,38.1H101v-0.1c0-0.3-0.1-0.4-0.3-0.5c-0.2-0.1-0.6-0.1-1.2-0.1c-0.7,0-1.2,0-1.4,0.1+ c-0.2,0.1-0.3,0.3-0.3,0.5c0,0.3,0.1,0.5,0.3,0.6s0.8,0.1,1.7,0.1c1.1,0,1.9,0.1,2.2,0.3c0.3,0.2,0.5,0.5,0.5,1.1+ c0,0.7-0.2,1.1-0.6,1.3s-1.2,0.3-2.5,0.3c-1.3,0-2.2-0.1-2.5-0.3c-0.4-0.2-0.6-0.6-0.6-1.2V40h1.4v0.1c0,0.3,0.1,0.5,0.3,0.6+ c0.2,0.1,0.7,0.1,1.5,0.1c0.7,0,1.1,0,1.2-0.1s0.3-0.3,0.3-0.6c0-0.3-0.1-0.4-0.2-0.5c-0.1-0.1-0.4-0.1-0.9-0.1l-0.8,0+ c-1.2,0-2-0.1-2.3-0.3c-0.4-0.2-0.5-0.6-0.5-1.1c0-0.6,0.2-1,0.6-1.2c0.4-0.2,1.2-0.3,2.5-0.3c1.1,0,1.9,0.1,2.3,0.3+ c0.4,0.2,0.6,0.5,0.6,1L102.4,38.1L102.4,38.1z"/>+ <path class="st4" d="M110,36.6l-2.9,3.1v1.9h-1.5v-1.9l-2.8-3.1h1.7l1.2,1.3l0.3,0.4l0.2,0.2l0.2,0.2l0.2-0.2l0.2-0.2l0.3-0.4+ l1.2-1.3H110z"/>+ </g>+</g>+</svg>diff --git a/frontend/src/helpers/appConnections.ts b/frontend/src/helpers/appConnections.tsindex 2266c05f9c..d32f8cc7fb 100644--- a/frontend/src/helpers/appConnections.ts+++ b/frontend/src/helpers/appConnections.ts@@ -57,6 +57,7 @@ import { OCIConnectionMethod } from "@app/hooks/api/appConnections/types/oci-conimport { RailwayConnectionMethod } from "@app/hooks/api/appConnections/types/railway-connection";import { RenderConnectionMethod } from "@app/hooks/api/appConnections/types/render-connection";import { SupabaseConnectionMethod } from "@app/hooks/api/appConnections/types/supabase-connection";+import { DNSMadeEasyConnectionMethod } from "@app/hooks/api/appConnections/types/dns-made-easy-connection";export const APP_CONNECTION_MAP: Record<AppConnection,@@ -111,6 +112,7 @@ export const APP_CONNECTION_MAP: Record<[AppConnection.Flyio]: { name: "Fly.io", image: "Flyio.svg" },[AppConnection.GitLab]: { name: "GitLab", image: "GitLab.png" },[AppConnection.Cloudflare]: { name: "Cloudflare", image: "Cloudflare.png" },+ [AppConnection.DNSMadeEasy]: { name: "DNS Made Easy", image: "DNSMadeEasy.svg" },[AppConnection.Zabbix]: { name: "Zabbix", image: "Zabbix.png" },[AppConnection.Railway]: { name: "Railway", image: "Railway.png" },[AppConnection.Bitbucket]: { name: "Bitbucket", image: "Bitbucket.png" },@@ -214,6 +216,8 @@ export const getAppConnectionMethodDetails = (method: TAppConnection["method"])return { name: "Client Secret", icon: faKey };case AzureClientSecretsConnectionMethod.Certificate:return { name: "Certificate", icon: faCertificate };+ case DNSMadeEasyConnectionMethod.APIKeySecret:+ return { name: "API Key & Secret", icon: faKey };default:throw new Error(`Unhandled App Connection Method: ${method}`);}diff --git a/frontend/src/hooks/api/appConnections/enums.ts b/frontend/src/hooks/api/appConnections/enums.tsindex fba0cbb4bc..9535e8348f 100644--- a/frontend/src/hooks/api/appConnections/enums.ts+++ b/frontend/src/hooks/api/appConnections/enums.ts@@ -29,6 +29,7 @@ export enum AppConnection {Flyio = "flyio",GitLab = "gitlab",Cloudflare = "cloudflare",+ DNSMadeEasy = "dns-made-easy",Bitbucket = "bitbucket",Zabbix = "zabbix",Railway = "railway",diff --git a/frontend/src/hooks/api/appConnections/types/dns-made-easy-connection.ts b/frontend/src/hooks/api/appConnections/types/dns-made-easy-connection.tsnew file mode 100644index 0000000000..2d1b93c866--- /dev/null+++ b/frontend/src/hooks/api/appConnections/types/dns-made-easy-connection.ts@@ -0,0 +1,14 @@+import { AppConnection } from "@app/hooks/api/appConnections/enums";+import { TRootAppConnection } from "@app/hooks/api/appConnections/types/root-connection";++export enum DNSMadeEasyConnectionMethod {+ APIKeySecret = "api-key-secret"+}++export type TDNSMadeEasyConnection = TRootAppConnection & { app: AppConnection.DNSMadeEasy } & {+ method: DNSMadeEasyConnectionMethod.APIKeySecret;+ credentials: {+ apiToken: string;+ accountId: string;+ };+};diff --git a/frontend/src/hooks/api/appConnections/types/index.ts b/frontend/src/hooks/api/appConnections/types/index.tsindex 3e62031b39..f52c902d2e 100644--- a/frontend/src/hooks/api/appConnections/types/index.ts+++ b/frontend/src/hooks/api/appConnections/types/index.ts@@ -15,6 +15,7 @@ import { TChefConnection } from "./chef-connection";import { TCloudflareConnection } from "./cloudflare-connection";import { TDatabricksConnection } from "./databricks-connection";import { TDigitalOceanConnection } from "./digital-ocean";+import { TDNSMadeEasyConnection } from "./dns-made-easy-connection";import { TFlyioConnection } from "./flyio-connection";import { TGcpConnection } from "./gcp-connection";import { TGitHubConnection } from "./github-connection";@@ -127,7 +128,8 @@ export type TAppConnection =| TNorthflankConnection| TOktaConnection| TRedisConnection- | TChefConnection;+ | TChefConnection+ | TDNSMadeEasyConnection;export type TAvailableAppConnection = Pick<TAppConnection, "name" | "id" | "projectId">;