Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

clarify when the data bag secret is needed

Dimitris Staratzisf73fbd236963
diff --git a/backend/src/lib/api-docs/constants.ts b/backend/src/lib/api-docs/constants.ts
index 259ae954d2..db407b140f 100644
--- a/backend/src/lib/api-docs/constants.ts
+++ b/backend/src/lib/api-docs/constants.ts
@@ -3079,7 +3079,7 @@ export const AppConnections = {
userName: "The username 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."
+ "The shared secret (the contents of your encrypted_data_bag_secret file) used to encrypt and decrypt Chef encrypted data bag items. Required by secret syncs that encrypt secrets or read a data bag item that's already encrypted."
},
OCTOPUS_DEPLOY: {
instanceUrl: "The Octopus Deploy instance URL to connect to.",
diff --git a/docs/integrations/app-connections/chef.mdx b/docs/integrations/app-connections/chef.mdx
index 055abbd68b..f2f97f83b1 100644
--- a/docs/integrations/app-connections/chef.mdx
+++ b/docs/integrations/app-connections/chef.mdx
@@ -90,7 +90,7 @@ Please access your **starter kit** to get all the required information to create
- **Organization Short Name**: The short name of your Chef organization
- **User Name**: The name of your Chef user
- **Private Key**: Your Chef user's private key (`.pem` file)
- - **Data Bag Secret** (optional): The contents of your `encrypted_data_bag_secret` file, needed only if a [Chef sync encrypts secrets](/integrations/secret-syncs/chef#encrypt-secrets-in-chef)
+ - **Data Bag Secret** (optional): The contents of your `encrypted_data_bag_secret` file, needed if a [Chef sync encrypts secrets](/integrations/secret-syncs/chef#encrypt-secrets-in-chef) or reads a data bag item that's already encrypted
Optionally select a **Gateway** to route the connection through an Infisical Gateway for private network access.
diff --git a/frontend/src/pages/organization/AppConnections/AppConnectionsPage/components/AppConnectionForm/ChefConnectionForm.tsx b/frontend/src/pages/organization/AppConnections/AppConnectionsPage/components/AppConnectionForm/ChefConnectionForm.tsx
index 8b14afb63d..8f131c8808 100644
--- a/frontend/src/pages/organization/AppConnections/AppConnectionsPage/components/AppConnectionForm/ChefConnectionForm.tsx
+++ b/frontend/src/pages/organization/AppConnections/AppConnectionsPage/components/AppConnectionForm/ChefConnectionForm.tsx
@@ -266,8 +266,9 @@ export const ChefConnectionForm = ({ appConnection, onSubmit }: Props) => {
<Info />
</TooltipTrigger>
<TooltipContent className="max-w-sm">
- The contents of your encrypted_data_bag_secret file. Needed only for syncs that
- encrypt secrets. Enter it again whenever you update these credentials.
+ The contents of your encrypted_data_bag_secret file. Needed for syncs that
+ encrypt secrets or read an encrypted data bag item. Enter it again whenever you
+ update these credentials.
</TooltipContent>
</Tooltip>
</FieldLabel>