mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-17 04:33:01 +00:00
PKI: add support for auto-renewal option on API enrollment type
This commit is contained in:
@@ -225,7 +225,7 @@ export const certificateProfileServiceFactory = ({
|
||||
const apiConfig = await apiEnrollmentConfigDAL.create(
|
||||
{
|
||||
autoRenew: data.apiConfig.autoRenew,
|
||||
autoRenewDays: data.apiConfig.autoRenewDays
|
||||
renewBeforeDays: data.apiConfig.renewBeforeDays
|
||||
},
|
||||
tx
|
||||
);
|
||||
@@ -343,7 +343,7 @@ export const certificateProfileServiceFactory = ({
|
||||
existingProfile.apiConfigId,
|
||||
{
|
||||
autoRenew: apiConfig.autoRenew,
|
||||
autoRenewDays: apiConfig.autoRenewDays
|
||||
renewBeforeDays: apiConfig.renewBeforeDays
|
||||
},
|
||||
tx
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user