Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
Merge branch 'main' into feat/pg-dynamic-secret
Maidul Islam12515c1866e8
diff --cc backend/src/lib/api-docs/constants.tsindex 0c115f55e8,cd4ee6ff75..18cedad30d--- a/backend/src/lib/api-docs/constants.ts+++ b/backend/src/lib/api-docs/constants.ts@@@ -286,80 -305,18 +305,93 @@@ export const AUDIT_LOGS =}} as const;+export const DYNAMIC_SECRETS = {+ LIST: {+ projectSlug: "The slug of the project to create dynamic secret in.",+ environmentSlug: "The slug of the environment to list folders from.",+ path: "The path to list folders from."+ },+ LIST_LEAES_BY_NAME: {+ projectSlug: "The slug of the project to create dynamic secret in.",+ environmentSlug: "The slug of the environment to list folders from.",+ path: "The path to list folders from.",+ name: "The name of the dynamic secret."+ },+ GET_BY_NAME: {+ projectSlug: "The slug of the project to create dynamic secret in.",+ environmentSlug: "The slug of the environment to list folders from.",+ path: "The path to list folders from.",+ name: "The name of the dynamic secret."+ },+ CREATE: {+ projectSlug: "The slug of the project to create dynamic secret in.",+ environmentSlug: "The slug of the environment to create the dynamic secret in.",+ path: "The path to create the dynamic secret in.",+ name: "The name of the dynamic secret.",+ provider: "The type of dynamic secret.",+ defaultTTL: "The default TTL that will be applied for all the leases.",+ maxTTL: "The maximum limit a TTL can be leases or renewed."+ },+ UPDATE: {+ projectSlug: "The slug of the project to update dynamic secret in.",+ environmentSlug: "The slug of the environment to update the dynamic secret in.",+ path: "The path to update the dynamic secret in.",+ name: "The name of the dynamic secret.",+ inputs: "The new partial values for the configurated provider of the dynamic secret",+ defaultTTL: "The default TTL that will be applied for all the leases.",+ maxTTL: "The maximum limit a TTL can be leases or renewed.",+ newName: "The new name for the dynamic secret."+ },+ DELETE: {+ projectSlug: "The slug of the project to delete dynamic secret in.",+ environmentSlug: "The slug of the environment to delete the dynamic secret in.",+ path: "The path to delete the dynamic secret in.",+ name: "The name of the dynamic secret.",+ isForced:+ "A boolean flag to delete the the dynamic secret from infisical without trying to remove it from external provider. Used when the dynamic secret got modified externally."+ }+} as const;++export const DYNAMIC_SECRET_LEASES = {+ GET_BY_LEASEID: {+ projectSlug: "The slug of the project to create dynamic secret in.",+ environmentSlug: "The slug of the environment to list folders from.",+ path: "The path to list folders from.",+ leaseId: "The ID of the dynamic secret lease."+ },+ CREATE: {+ projectSlug: "The slug of the project of the dynamic secret in.",+ environmentSlug: "The slug of the environment of the dynamic secret in.",+ path: "The path of the dynamic secret in.",+ dynamicSecretName: "The name of the dynamic secret.",+ ttl: "The lease lifetime ttl. If not provided the default TTL of dynamic secret will be used."+ },+ RENEW: {+ projectSlug: "The slug of the project of the dynamic secret in.",+ environmentSlug: "The slug of the environment of the dynamic secret in.",+ path: "The path of the dynamic secret in.",+ leaseId: "The ID of the dynamic secret lease.",+ ttl: "The renew TTL that gets added with current expiry (ensure it's below max TTL) for a total less than creation time + max TTL."+ },+ DELETE: {+ projectSlug: "The slug of the project of the dynamic secret in.",+ environmentSlug: "The slug of the environment of the dynamic secret in.",+ path: "The path of the dynamic secret in.",+ leaseId: "The ID of the dynamic secret lease.",+ isForced:+ "A boolean flag to delete the the dynamic secret from infisical without trying to remove it from external provider. Used when the dynamic secret got modified externally."+ export const SECRET_TAGS = {+ LIST: {+ projectId: "The ID of the project to list tags from."+ },+ CREATE: {+ projectId: "The ID of the project to create the tag in.",+ name: "The name of the tag to create.",+ slug: "The slug of the tag to create.",+ color: "The color of the tag to create."+ },+ DELETE: {+ tagId: "The ID of the tag to delete.",+ projectId: "The ID of the project to delete the tag from."}} as const;