mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-12 14:29:34 +00:00
19 lines
736 B
TypeScript
19 lines
736 B
TypeScript
import {
|
|
AcmeCertificateAuthoritySchema,
|
|
CreateAcmeCertificateAuthoritySchema,
|
|
UpdateAcmeCertificateAuthoritySchema
|
|
} from "@app/services/certificate-authority/acme/acme-certificate-authority-schemas";
|
|
import { CaType } from "@app/services/certificate-authority/certificate-authority-enums";
|
|
|
|
import { registerCertificateAuthorityEndpoints } from "./certificate-authority-endpoints";
|
|
|
|
export const registerAcmeCertificateAuthorityRouter = async (server: FastifyZodProvider) => {
|
|
registerCertificateAuthorityEndpoints({
|
|
caType: CaType.ACME,
|
|
server,
|
|
responseSchema: AcmeCertificateAuthoritySchema,
|
|
createSchema: CreateAcmeCertificateAuthoritySchema,
|
|
updateSchema: UpdateAcmeCertificateAuthoritySchema
|
|
});
|
|
};
|