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
docs: apply some changes to make the docs easier to understand
adilson0606c415e34c
diff --git a/docs/integrations/secret-syncs/native-integrations.mdx b/docs/integrations/secret-syncs/native-integrations.mdxindex 9b9b903545..610a2ed3eb 100644--- a/docs/integrations/secret-syncs/native-integrations.mdx+++ b/docs/integrations/secret-syncs/native-integrations.mdx@@ -10,7 +10,7 @@ same services with more control over how secrets are named, updated, and removed<Warning>Native Integrations are being retired on **February 1, 2027**. Your existing integrations keep- syncing until then, and new Native Integrations can no longer be created. Reading, updating,+ syncing until then, and new integrations can no longer be created. Reading, updating,deleting, and manually syncing your existing integrations all keep working until the cutoff.Every Native Integration you rely on has a Secret Sync equivalent today, so you can migrate at@@ -27,30 +27,28 @@ prefix your keys, depended on which provider you had picked.Secret Syncs separate the credential from the sync. An[App Connection](/integrations/app-connections/overview) holds the credential at the organization-level, and any number of Secret Syncs reuse it. Every sync then exposes the same set of options,-whichever service it targets.-+or project level, and any number of Secret Syncs reuse it. Every sync then exposes the same set of+options, whichever service it targets.The three differences that matter most in day-to-day use:-**Key Schemas.** Native Integrations let you bolt a prefix or suffix onto your secret names, and-only for a few providers. A [Key Schema](/integrations/secret-syncs/overview#key-schemas) is a+**Key Schemas.** Native Integrations let you bolt a prefix or suffix onto your secret names. A [Key Schema](/integrations/secret-syncs/overview#key-schemas) is atemplate, so you decide exactly how keys are named in the destination. It also scopes whatInfisical manages: any secret in the destination that does not match the schema is left alone, soa sync can share a destination with secrets managed elsewhere.**App Connections.** A Native Integration's credentials belonged to one project. Rotating a tokenmeant re-authorizing every project that used it. An-[App Connection](/integrations/app-connections/overview) is created once for the organization,-reused by every sync that needs it, and has its own permissions and credential rotation.+[App Connection](/integrations/app-connections/overview) can be created at the organization or+inside a project, reused by every sync that needs it, and has its own permissions and credential+rotation.**Deleting secrets in the destination.** Native Integrations could only remove secrets fromGitHub, so for every other provider a secret deleted in Infisical stayed behind in the-destination. Secret Syncs remove secrets on every destination but one, and **Disable Secret-Deletion** lets you opt out where you manage some secrets by hand.-+destination. With Secret Syncs, you can remove secrets from every destination by turning+**Disable Secret Deletion** off. Leave it on when you manage some destination secrets by hand.-Below is a table with some more differences+Other differences:| | Native Integration | Secret Sync || --- | --- | --- |@@ -59,8 +57,6 @@ Below is a table with some more differences| **Secret naming** | A prefix or suffix, available for only a handful of providers | [Key Schemas](/integrations/secret-syncs/overview#key-schemas) on every destination, using `{{secretKey}}` and `{{environment}}` || **Protecting hand-managed destination secrets** | Handled differently by each provider, or not at all | **Disable Secret Deletion**, on every destination |--## How to migrateA Secret Sync and a Native Integration can point at the same destination at the same time. Both@@ -69,8 +65,6 @@ window to confirm the new sync works before you remove anything.The walkthrough below uses GitHub as the example. The same approach applies to every service.--<Steps><Step title="Record your current configuration">Open your GitHub Native Integration and note what it targets, so you can match it exactly:@@ -123,19 +117,18 @@ The walkthrough below uses GitHub as the example. The same approach applies to e */}</Step>- <Step title="Configure the sync options for a parallel run">- This is the step that keeps the migration safe.+ <Step title="Configure the sync options">- **Key Schema**: To write the same secret names your Native Integration wrote, use`{{secretKey}}` with no additions. If your Native Integration appended a suffix such as`_PROD`, mirror it as `{{secretKey}}_PROD`. Matching the names is what makes the sync- overwrite the same GitHub secrets rather than create a second set alongside them.- - **Disable Secret Deletion**: Leave this **on** for the parallel run.+ overwrite the same GitHub secrets rather than create a second set alongside them. It is always recommended to add a key schema+ - **Disable Secret Deletion**: Leave this **on**.- **Auto-Sync Enabled**: Leave this on, so the sync picks up changes the same way yourNative Integration did.<Warning>- Turn on **Disable Secret Deletion** before you create the sync. Native GitHub+ Make sure **Disable Secret Deletion** is true before you create the sync. Native GitHubintegrations do not delete secrets unless you explicitly enabled it, so your repositorymay hold secrets that were added by hand or left behind by an earlier integration.Without this option, the sync's **Overwrite Destination Secrets** behavior removes every@@ -150,8 +143,7 @@ The walkthrough below uses GitHub as the example. The same approach applies to e</Step><Step title="Name and create the sync">- Give the sync a name that makes its purpose obvious, then review the configuration and click- **Create Sync**. If Auto-Sync is enabled, it starts syncing immediately.+ Enter a name for the sync, review the configuration, and click Create Sync. If Auto-Sync is enabled, it starts syncing immediately</Step><Step title="Verify the sync">@@ -178,24 +170,14 @@ The walkthrough below uses GitHub as the example. The same approach applies to e</Warning></Step>- <Step title="Tighten up, optionally">- With Infisical as the only writer, you can adopt a namespaced Key Schema such as- `INFISICAL_{{secretKey}}` to make it obvious which secrets Infisical manages, and turn- **Disable Secret Deletion** back off so secrets deleted in Infisical are also removed from- GitHub.-- Changing the Key Schema changes the secret names in GitHub, so update anything that reads- them first.- </Step></Steps>-## Migrating other servicesThe recipe is the same for every service: create the App Connection, create a Secret Sync with thesame source and destination, match the secret naming with a Key Schema, enable **Disable Secret-Deletion** for the parallel run, verify, then remove the Native Integration. See the Secret Syncs-section in the navigation bar for the field reference for your destination.+Deletion**, verify, then remove the Native Integration. Search on the [Secret Syncs](/integrations/secret-syncs/overview)+section for the field reference for your destination.Some destinations can read secrets back, which GitHub cannot. For those, **Initial Sync Behavior**lets you pull what is already in the destination into Infisical before anything is overwritten,