mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-15 14:27:23 +00:00
feat(server): added limit to leases creation and support for force delete when external system fails to comply
This commit is contained in:
@@ -62,7 +62,8 @@ export const registerDynamicSecretLeaseRouter = async (server: FastifyZodProvide
|
||||
body: z.object({
|
||||
projectSlug: z.string().min(1),
|
||||
path: z.string().min(1).trim().default("/").transform(removeTrailingSlash),
|
||||
environment: z.string().min(1)
|
||||
environment: z.string().min(1),
|
||||
isForced: z.boolean().default(false)
|
||||
}),
|
||||
response: {
|
||||
200: z.object({
|
||||
|
||||
@@ -132,7 +132,8 @@ export const registerDynamicSecretRouter = async (server: FastifyZodProvider) =>
|
||||
body: z.object({
|
||||
projectSlug: z.string().min(1),
|
||||
path: z.string().trim().default("/").transform(removeTrailingSlash),
|
||||
environment: z.string().min(1)
|
||||
environment: z.string().min(1),
|
||||
isForced: z.boolean().default(false)
|
||||
}),
|
||||
response: {
|
||||
200: z.object({
|
||||
|
||||
Reference in New Issue
Block a user