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
feat(secret-sync): add data bag secret to chef connection
Dimitris Staratzis2f3c9ebabb39
diff --git a/backend/src/ee/services/app-connections/chef/chef-connection-schemas.ts b/backend/src/ee/services/app-connections/chef/chef-connection-schemas.tsindex 8eb855a9a9..2c710c0e67 100644--- a/backend/src/ee/services/app-connections/chef/chef-connection-schemas.ts+++ b/backend/src/ee/services/app-connections/chef/chef-connection-schemas.ts@@ -35,7 +35,14 @@ export const ChefConnectionUserKeyCredentialsSchema = z.object({.trim().min(1, "Private key required").max(16384, "Private key cannot exceed 16384 characters")- .describe(AppConnections.CREDENTIALS.CHEF.privateKey)+ .describe(AppConnections.CREDENTIALS.CHEF.privateKey),+ dataBagSecret: z+ .string()+ .trim()+ .min(1, "Data bag secret cannot be empty")+ .max(4096, "Data bag secret cannot exceed 4096 characters")+ .optional()+ .describe(AppConnections.CREDENTIALS.CHEF.dataBagSecret)});const BaseChefConnectionSchema = BaseAppConnectionSchema.extend({ app: z.literal(AppConnection.Chef) });diff --git a/backend/src/lib/api-docs/constants.ts b/backend/src/lib/api-docs/constants.tsindex f9b4406792..1164184cc9 100644--- a/backend/src/lib/api-docs/constants.ts+++ b/backend/src/lib/api-docs/constants.ts@@ -3077,7 +3077,9 @@ export const AppConnections = {serverUrl: "The URL of the Chef server to connect to.",orgName: "The short name of the Chef organization to connect to.",userName: "The username used to access Chef.",- privateKey: "The private key used to access Chef."+ privateKey: "The private key used to access Chef.",+ dataBagSecret:+ "The shared secret (the contents of your encrypted_data_bag_secret file) used to encrypt and decrypt Chef encrypted data bag items. Required only by secret syncs that encrypt secrets."},OCTOPUS_DEPLOY: {instanceUrl: "The Octopus Deploy instance URL to connect to.",