Skip to content

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

Improved Key Schema docs + tooltip

x0322058298f9974f53
diff --git a/docs/integrations/secret-syncs/overview.mdx b/docs/integrations/secret-syncs/overview.mdx
index 87527fd02f..65ec4e6cf5 100644
--- a/docs/integrations/secret-syncs/overview.mdx
+++ b/docs/integrations/secret-syncs/overview.mdx
@@ -99,6 +99,8 @@ via the UI or API for the third-party service you intend to sync secrets to.
Key Schemas transform your secret keys by applying a prefix, suffix, or format pattern during sync to external destinations. This makes it clear which secrets are managed by Infisical and prevents accidental changes to unrelated secrets.
+Any destination secrets which do not match the schema will not get deleted or updated by Infisical.
+
**Example:**
- Infisical key: `SECRET_1`
- Schema: `INFISICAL_{{secretKey}}`
diff --git a/frontend/src/components/secret-syncs/forms/SecretSyncOptionsFields/SecretSyncOptionsFields.tsx b/frontend/src/components/secret-syncs/forms/SecretSyncOptionsFields/SecretSyncOptionsFields.tsx
index 00d86e7004..35866d856b 100644
--- a/frontend/src/components/secret-syncs/forms/SecretSyncOptionsFields/SecretSyncOptionsFields.tsx
+++ b/frontend/src/components/secret-syncs/forms/SecretSyncOptionsFields/SecretSyncOptionsFields.tsx
@@ -146,11 +146,16 @@ export const SecretSyncOptionsFields = ({ hideInitialSync }: Props) => {
href="https://infisical.com/docs/integrations/secret-syncs/overview#key-schemas"
target="_blank"
rel="noopener noreferrer"
+ className="underline"
>
Key Schema
</a>{" "}
to ensure that Infisical only manages the specific keys you intend, keeping
everything else untouched.
+ <br />
+ <br />
+ Destination secrets that do not match the schema will not be deleted or updated,
+ regardless of other settings.
</span>
}
>