mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-17 12:56:29 +00:00
18 lines
694 B
TypeScript
18 lines
694 B
TypeScript
import {
|
|
AzureAppConfigurationSyncSchema,
|
|
CreateAzureAppConfigurationSyncSchema,
|
|
UpdateAzureAppConfigurationSyncSchema
|
|
} from "@app/services/secret-sync/azure-app-configuration";
|
|
import { SecretSync } from "@app/services/secret-sync/secret-sync-enums";
|
|
|
|
import { registerSyncSecretsEndpoints } from "./secret-sync-endpoints";
|
|
|
|
export const registerAzureAppConfigurationSyncRouter = async (server: FastifyZodProvider) =>
|
|
registerSyncSecretsEndpoints({
|
|
destination: SecretSync.AzureAppConfiguration,
|
|
server,
|
|
responseSchema: AzureAppConfigurationSyncSchema,
|
|
createSchema: CreateAzureAppConfigurationSyncSchema,
|
|
updateSchema: UpdateAzureAppConfigurationSyncSchema
|
|
});
|