Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

782 B
Raw Blame
import { AppConnection } from "@app/services/app-connection/app-connection-enums";
import {
  CreateAzureAppConfigurationConnectionSchema,
  SanitizedAzureAppConfigurationConnectionSchema,
  UpdateAzureAppConfigurationConnectionSchema
} from "@app/services/app-connection/azure-app-configuration";

import { registerAppConnectionEndpoints } from "./app-connection-endpoints";

export const registerAzureAppConfigurationConnectionRouter = async (server: FastifyZodProvider) => {
  registerAppConnectionEndpoints({
    app: AppConnection.AzureAppConfiguration,
    server,
    sanitizedResponseSchema: SanitizedAzureAppConfigurationConnectionSchema,
    createSchema: CreateAzureAppConfigurationConnectionSchema,
    updateSchema: UpdateAzureAppConfigurationConnectionSchema
  });
};