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
review fixes
x032205b0c4fddf869f
diff --git a/backend/src/services/secret-sync/secret-sync-fns.ts b/backend/src/services/secret-sync/secret-sync-fns.tsindex 689d894aba..79480838a2 100644--- a/backend/src/services/secret-sync/secret-sync-fns.ts+++ b/backend/src/services/secret-sync/secret-sync-fns.ts@@ -1,4 +1,5 @@import { AxiosError } from "axios";+import RE2 from "re2";import {AWS_PARAMETER_STORE_SYNC_LIST_OPTION,@@ -29,7 +30,7 @@ import { HC_VAULT_SYNC_LIST_OPTION, HCVaultSyncFns } from "./hc-vault";import { HUMANITEC_SYNC_LIST_OPTION } from "./humanitec";import { HumanitecSyncFns } from "./humanitec/humanitec-sync-fns";import { OCI_VAULT_SYNC_LIST_OPTION, OCIVaultSyncFns } from "./oci-vault";-import { TEAMCITY_SYNC_LIST_OPTION, TeamCitySyncFns } from "./teamcity";+import * as teamcity from "./teamcity";import { TERRAFORM_CLOUD_SYNC_LIST_OPTION, TerraformCloudSyncFns } from "./terraform-cloud";import { VERCEL_SYNC_LIST_OPTION, VercelSyncFns } from "./vercel";import { WINDMILL_SYNC_LIST_OPTION, WindmillSyncFns } from "./windmill";@@ -48,7 +49,7 @@ const SECRET_SYNC_LIST_OPTIONS: Record<SecretSync, TSecretSyncListItem> = {[SecretSync.Vercel]: VERCEL_SYNC_LIST_OPTION,[SecretSync.Windmill]: WINDMILL_SYNC_LIST_OPTION,[SecretSync.HCVault]: HC_VAULT_SYNC_LIST_OPTION,- [SecretSync.TeamCity]: TEAMCITY_SYNC_LIST_OPTION,+ [SecretSync.TeamCity]: teamcity.TEAMCITY_SYNC_LIST_OPTION,[SecretSync.OCIVault]: OCI_VAULT_SYNC_LIST_OPTION};@@ -68,7 +69,7 @@ const addSchema = (unprocessedSecretMap: TSecretMap, schema?: string): TSecretMaconst processedSecretMap: TSecretMap = {};for (const [key, value] of Object.entries(unprocessedSecretMap)) {- const newKey = schema.replace("{{secretKey}}", key);+ const newKey = new RE2("{{secretKey}}").replace(schema, key);processedSecretMap[newKey] = value;}@@ -167,7 +168,7 @@ export const SecretSyncFns = {case SecretSync.HCVault:return HCVaultSyncFns.syncSecrets(secretSync, schemaSecretMap);case SecretSync.TeamCity:- return TeamCitySyncFns.syncSecrets(secretSync, schemaSecretMap);+ return teamcity.TeamCitySyncFns.syncSecrets(secretSync, schemaSecretMap);case SecretSync.OCIVault:return OCIVaultSyncFns.syncSecrets(secretSync, schemaSecretMap);default:@@ -233,7 +234,7 @@ export const SecretSyncFns = {secretMap = await HCVaultSyncFns.getSecrets(secretSync);break;case SecretSync.TeamCity:- secretMap = await TeamCitySyncFns.getSecrets(secretSync);+ secretMap = await teamcity.TeamCitySyncFns.getSecrets(secretSync);break;case SecretSync.OCIVault:secretMap = await OCIVaultSyncFns.getSecrets(secretSync);@@ -293,7 +294,7 @@ export const SecretSyncFns = {case SecretSync.HCVault:return HCVaultSyncFns.removeSecrets(secretSync, schemaSecretMap);case SecretSync.TeamCity:- return TeamCitySyncFns.removeSecrets(secretSync, schemaSecretMap);+ return teamcity.TeamCitySyncFns.removeSecrets(secretSync, schemaSecretMap);case SecretSync.OCIVault:return OCIVaultSyncFns.removeSecrets(secretSync, schemaSecretMap);default:diff --git a/backend/src/services/secret-sync/secret-sync-schemas.ts b/backend/src/services/secret-sync/secret-sync-schemas.tsindex 114bd23222..9dab3c1210 100644--- a/backend/src/services/secret-sync/secret-sync-schemas.ts+++ b/backend/src/services/secret-sync/secret-sync-schemas.ts@@ -30,7 +30,7 @@ const BaseSyncOptionsSchema = <T extends AnyZodObject | undefined = undefined>({.optional().refine((val) => !val || new RE2(/^(?:[a-zA-Z0-9\-/]*)(?:\{\{secretKey\}\})(?:[a-zA-Z0-9\-/]*)$/).test(val), {message:- "Key schema must include {{secretKey}} and only contain letters, numbers, dashes, slashes, and the {{secretKey}} placeholder."+ "Key schema must include one {{secretKey}} and only contain letters, numbers, dashes, slashes, and the {{secretKey}} placeholder."}).describe(SecretSyncs.SYNC_OPTIONS(destination).keySchema),disableSecretDeletion: z.boolean().optional().describe(SecretSyncs.SYNC_OPTIONS(destination).disableSecretDeletion)diff --git a/docs/integrations/cloud/heroku.mdx b/docs/integrations/cloud/heroku.mdxindex a849e299f5..bb2fa22fa5 100644--- a/docs/integrations/cloud/heroku.mdx+++ b/docs/integrations/cloud/heroku.mdx@@ -34,7 +34,7 @@ description: "How to sync secrets from Infisical to Heroku"- **No Import - Overwrite all values in Heroku**: Sync secrets and overwrite any existing secrets in Heroku.- **Import - Prefer values from Infisical**: Import secrets from Heroku to Infisical; if a secret with the same name already exists in Infisical, do nothing. Afterwards, sync secrets to Heroku.- **Import - Prefer values from Heroku**: Import secrets from Heroku to Infisical; if a secret with the same name already exists in Infisical, replace its value with the one from Heroku. Afterwards, sync secrets to Heroku.- - Key Schema: The schema used in forming the final destination key.+ - Key Schema: Template that determines how secret names are transformed when syncing, using {{secretKey}} as a placeholder for the original secret name.</Step>diff --git a/docs/integrations/secret-syncs/aws-parameter-store.mdx b/docs/integrations/secret-syncs/aws-parameter-store.mdxindex 6b0f174d15..5783079265 100644--- a/docs/integrations/secret-syncs/aws-parameter-store.mdx+++ b/docs/integrations/secret-syncs/aws-parameter-store.mdx@@ -40,7 +40,7 @@ description: "Learn how to configure an AWS Parameter Store Sync for Infisical."- **Overwrite Destination Secrets**: Removes any secrets at the destination endpoint not present in Infisical.- **Import Secrets (Prioritize Infisical)**: Imports secrets from the destination endpoint before syncing, prioritizing values from Infisical over Parameter Store when keys conflict.- **Import Secrets (Prioritize AWS Parameter Store)**: Imports secrets from the destination endpoint before syncing, prioritizing values from Parameter Store over Infisical when keys conflict.- - **Key Schema**: The schema used in forming the final destination key.+ - **Key Schema**: Template that determines how secret names are transformed when syncing, using {{secretKey}} as a placeholder for the original secret name.- **KMS Key**: The AWS KMS key ID or alias to encrypt parameters with.- **Tags**: Optional resource tags to add to parameters synced by Infisical.- **Sync Secret Metadata as Resource Tags**: If enabled, metadata attached to secrets will be added as resource tags to parameters synced by Infisical.diff --git a/docs/integrations/secret-syncs/aws-secrets-manager.mdx b/docs/integrations/secret-syncs/aws-secrets-manager.mdxindex 8af918b830..a5746a1bc8 100644--- a/docs/integrations/secret-syncs/aws-secrets-manager.mdx+++ b/docs/integrations/secret-syncs/aws-secrets-manager.mdx@@ -43,7 +43,7 @@ description: "Learn how to configure an AWS Secrets Manager Sync for Infisical."- **Overwrite Destination Secrets**: Removes any secrets at the destination endpoint not present in Infisical.- **Import Secrets (Prioritize Infisical)**: Imports secrets from the destination endpoint before syncing, prioritizing values from Infisical over Secrets Manager when keys conflict.- **Import Secrets (Prioritize AWS Secrets Manager)**: Imports secrets from the destination endpoint before syncing, prioritizing values from Secrets Manager over Infisical when keys conflict.- - **Key Schema**: The schema used in forming the final destination key.+ - **Key Schema**: Template that determines how secret names are transformed when syncing, using {{secretKey}} as a placeholder for the original secret name.- **KMS Key**: The AWS KMS key ID or alias to encrypt secrets with.- **Tags**: Optional tags to add to secrets synced by Infisical.- **Sync Secret Metadata as Tags**: If enabled, metadata attached to secrets will be added as tags to secrets synced by Infisical.diff --git a/docs/integrations/secret-syncs/azure-app-configuration.mdx b/docs/integrations/secret-syncs/azure-app-configuration.mdxindex 63fb8504a3..da076ac492 100644--- a/docs/integrations/secret-syncs/azure-app-configuration.mdx+++ b/docs/integrations/secret-syncs/azure-app-configuration.mdx@@ -48,7 +48,7 @@ description: "Learn how to configure an Azure App Configuration Sync for Infisic- **Overwrite Destination Secrets**: Removes any secrets at the destination endpoint not present in Infisical.- **Import Secrets (Prioritize Infisical)**: Imports secrets from the destination endpoint before syncing, prioritizing values from Infisical over Secrets Manager when keys conflict.- **Import Secrets (Prioritize Azure App Configuration)**: Imports secrets from the destination endpoint before syncing, prioritizing values from Secrets Manager over Infisical when keys conflict.- - **Key Schema**: The schema used in forming the final destination key.+ - **Key Schema**: Template that determines how secret names are transformed when syncing, using {{secretKey}} as a placeholder for the original secret name.- **Auto-Sync Enabled**: If enabled, secrets will automatically be synced from the source location when changes occur. Disable to enforce manual syncing only.- **Disable Secret Deletion**: If enabled, Infisical will not remove secrets from the sync destination. Enable this option if you intend to manage some secrets manually outside of Infisical.diff --git a/docs/integrations/secret-syncs/azure-key-vault.mdx b/docs/integrations/secret-syncs/azure-key-vault.mdxindex 0b6e476e64..8a1ca9a326 100644--- a/docs/integrations/secret-syncs/azure-key-vault.mdx+++ b/docs/integrations/secret-syncs/azure-key-vault.mdx@@ -51,7 +51,7 @@ description: "Learn how to configure a Azure Key Vault Sync for Infisical."- **Overwrite Destination Secrets**: Removes any secrets at the destination endpoint not present in Infisical.- **Import Secrets (Prioritize Infisical)**: Imports secrets from the destination endpoint before syncing, prioritizing values from Infisical over Secrets Manager when keys conflict.- **Import Secrets (Prioritize Azure Key Vault)**: Imports secrets from the destination endpoint before syncing, prioritizing values from Secrets Manager over Infisical when keys conflict.- - **Key Schema**: The schema used in forming the final destination key.+ - **Key Schema**: Template that determines how secret names are transformed when syncing, using {{secretKey}} as a placeholder for the original secret name.- **Auto-Sync Enabled**: If enabled, secrets will automatically be synced from the source location when changes occur. Disable to enforce manual syncing only.- **Disable Secret Deletion**: If enabled, Infisical will not remove secrets from the sync destination. Enable this option if you intend to manage some secrets manually outside of Infisical.diff --git a/docs/integrations/secret-syncs/camunda.mdx b/docs/integrations/secret-syncs/camunda.mdxindex 8460d3899b..7e7df3371f 100644--- a/docs/integrations/secret-syncs/camunda.mdx+++ b/docs/integrations/secret-syncs/camunda.mdx@@ -39,7 +39,7 @@ description: "Learn how to configure a Camunda Sync for Infisical."- **Overwrite Destination Secrets**: Removes any secrets at the destination endpoint not present in Infisical.- **Import Secrets (Prioritize Infisical)**: Imports secrets from the destination endpoint before syncing, prioritizing values from Infisical over Camunda when keys conflict.- **Import Secrets (Prioritize Camunda)**: Imports secrets from the destination endpoint before syncing, prioritizing values from Camunda over Infisical when keys conflict.- - **Key Schema**: The schema used in forming the final destination key.+ - **Key Schema**: Template that determines how secret names are transformed when syncing, using {{secretKey}} as a placeholder for the original secret name.- **Auto-Sync Enabled**: If enabled, secrets will automatically be synced from the source location when changes occur. Disable to enforce manual syncing only.- **Disable Secret Deletion**: If enabled, Infisical will not remove secrets from the sync destination. Enable this option if you intend to manage some secrets manually outside of Infisical.diff --git a/docs/integrations/secret-syncs/databricks.mdx b/docs/integrations/secret-syncs/databricks.mdxindex 2c89ac1bdd..29f5b39a6f 100644--- a/docs/integrations/secret-syncs/databricks.mdx+++ b/docs/integrations/secret-syncs/databricks.mdx@@ -46,7 +46,7 @@ description: "Learn how to configure a Databricks Sync for Infisical."<Note>Databricks does not support importing secrets.</Note>- - **Key Schema**: The schema used in forming the final destination key.+ - **Key Schema**: Template that determines how secret names are transformed when syncing, using {{secretKey}} as a placeholder for the original secret name.- **Auto-Sync Enabled**: If enabled, secrets will automatically be synced from the source location when changes occur. Disable to enforce manual syncing only.- **Disable Secret Deletion**: If enabled, Infisical will not remove secrets from the sync destination. Enable this option if you intend to manage some secrets manually outside of Infisical.diff --git a/docs/integrations/secret-syncs/gcp-secret-manager.mdx b/docs/integrations/secret-syncs/gcp-secret-manager.mdxindex fd885eb586..29fb3d84c9 100644--- a/docs/integrations/secret-syncs/gcp-secret-manager.mdx+++ b/docs/integrations/secret-syncs/gcp-secret-manager.mdx@@ -42,7 +42,7 @@ description: "Learn how to configure a GCP Secret Manager Sync for Infisical."- **Overwrite Destination Secrets**: Removes any secrets at the destination endpoint not present in Infisical.- **Import Secrets (Prioritize Infisical)**: Imports secrets from the destination endpoint before syncing, prioritizing values from Infisical over GCP Secret Manager when keys conflict.- **Import Secrets (Prioritize GCP Secret Manager)**: Imports secrets from the destination endpoint before syncing, prioritizing values from GCP Secret Manager over Infisical when keys conflict.- - **Key Schema**: The schema used in forming the final destination key.+ - **Key Schema**: Template that determines how secret names are transformed when syncing, using {{secretKey}} as a placeholder for the original secret name.- **Auto-Sync Enabled**: If enabled, secrets will automatically be synced from the source location when changes occur. Disable to enforce manual syncing only.- **Disable Secret Deletion**: If enabled, Infisical will not remove secrets from the sync destination. Enable this option if you intend to manage some secrets manually outside of Infisical.diff --git a/docs/integrations/secret-syncs/github.mdx b/docs/integrations/secret-syncs/github.mdxindex 7e93d4ed60..e79435bd22 100644--- a/docs/integrations/secret-syncs/github.mdx+++ b/docs/integrations/secret-syncs/github.mdx@@ -62,7 +62,7 @@ description: "Learn how to configure a GitHub Sync for Infisical."<Note>GitHub does not support importing secrets.</Note>- - **Key Schema**: The schema used in forming the final destination key.+ - **Key Schema**: Template that determines how secret names are transformed when syncing, using {{secretKey}} as a placeholder for the original secret name.- **Auto-Sync Enabled**: If enabled, secrets will automatically be synced from the source location when changes occur. Disable to enforce manual syncing only.- **Disable Secret Deletion**: If enabled, Infisical will not remove secrets from the sync destination. Enable this option if you intend to manage some secrets manually outside of Infisical.diff --git a/docs/integrations/secret-syncs/hashicorp-vault.mdx b/docs/integrations/secret-syncs/hashicorp-vault.mdxindex e4d37e2199..046b720f3c 100644--- a/docs/integrations/secret-syncs/hashicorp-vault.mdx+++ b/docs/integrations/secret-syncs/hashicorp-vault.mdx@@ -54,7 +54,7 @@ description: "Learn how to configure a Hashicorp Vault Sync for Infisical."- **Overwrite Destination Secrets**: Removes any secrets at the destination endpoint not present in Infisical.- **Import Secrets (Prioritize Infisical)**: Imports secrets from the destination endpoint before syncing, prioritizing values from Infisical over Hashicorp Vault when keys conflict.- **Import Secrets (Prioritize Hashicorp Vault)**: Imports secrets from the destination endpoint before syncing, prioritizing values from Hashicorp Vault over Infisical when keys conflict.- - **Key Schema**: The schema used in forming the final destination key.+ - **Key Schema**: Template that determines how secret names are transformed when syncing, using {{secretKey}} as a placeholder for the original secret name.- **Auto-Sync Enabled**: If enabled, secrets will automatically be synced from the source location when changes occur. Disable to enforce manual syncing only.- **Disable Secret Deletion**: If enabled, Infisical will not remove secrets from the sync destination. Enable this option if you intend to manage some secrets manually outside of Infisical.</Step>diff --git a/docs/integrations/secret-syncs/humanitec.mdx b/docs/integrations/secret-syncs/humanitec.mdxindex 955cc0764a..df335b9cb7 100644--- a/docs/integrations/secret-syncs/humanitec.mdx+++ b/docs/integrations/secret-syncs/humanitec.mdx@@ -55,7 +55,7 @@ description: "Learn how to configure a Humanitec Sync for Infisical."<Note>Humanitec does not support importing secrets.</Note>- - **Key Schema**: The schema used in forming the final destination key.+ - **Key Schema**: Template that determines how secret names are transformed when syncing, using {{secretKey}} as a placeholder for the original secret name.- **Auto-Sync Enabled**: If enabled, secrets will automatically be synced from the source location when changes occur. Disable to enforce manual syncing only.- **Disable Secret Deletion**: If enabled, Infisical will not remove secrets from the sync destination. Enable this option if you intend to manage some secrets manually outside of Infisical.diff --git a/docs/integrations/secret-syncs/oci-vault.mdx b/docs/integrations/secret-syncs/oci-vault.mdxindex 8df2ba1eee..d03e85270c 100644--- a/docs/integrations/secret-syncs/oci-vault.mdx+++ b/docs/integrations/secret-syncs/oci-vault.mdx@@ -50,8 +50,7 @@ description: "Learn how to configure an Oracle Cloud Infrastructure Vault Sync f- **Overwrite Destination Secrets**: Removes any secrets at the destination endpoint not present in Infisical.- **Import Secrets (Prioritize Infisical)**: Imports secrets from the destination endpoint before syncing, prioritizing values from Infisical over OCI Vault when keys conflict.- **Import Secrets (Prioritize OCI Vault)**: Imports secrets from the destination endpoint before syncing, prioritizing values from OCI Vault over Infisical when keys conflict.- - **Key Schema**: The schema used in forming the final destination key.-+ - **Key Schema**: Template that determines how secret names are transformed when syncing, using {{secretKey}} as a placeholder for the original secret name.- **Auto-Sync Enabled**: If enabled, secrets will automatically be synced from the source location when changes occur. Disable to enforce manual syncing only.- **Disable Secret Deletion**: If enabled, Infisical will not remove secrets from the sync destination. Enable this option if you intend to manage some secrets manually outside of Infisical.</Step>diff --git a/docs/integrations/secret-syncs/teamcity.mdx b/docs/integrations/secret-syncs/teamcity.mdxindex 907bed961f..583ac324d7 100644--- a/docs/integrations/secret-syncs/teamcity.mdx+++ b/docs/integrations/secret-syncs/teamcity.mdx@@ -48,7 +48,7 @@ description: "Learn how to configure a TeamCity Sync for Infisical."<Note>Infisical only syncs secrets from within the target scope; inherited secrets will not be imported.</Note>- - **Key Schema**: The schema used in forming the final destination key.+ - **Key Schema**: Template that determines how secret names are transformed when syncing, using {{secretKey}} as a placeholder for the original secret name.- **Auto-Sync Enabled**: If enabled, secrets will automatically be synced from the source location when changes occur. Disable to enforce manual syncing only.- **Disable Secret Deletion**: If enabled, Infisical will not remove secrets from the sync destination. Enable this option if you intend to manage some secrets manually outside of Infisical.diff --git a/docs/integrations/secret-syncs/terraform-cloud.mdx b/docs/integrations/secret-syncs/terraform-cloud.mdxindex 5bc6aae0f7..926bccd725 100644--- a/docs/integrations/secret-syncs/terraform-cloud.mdx+++ b/docs/integrations/secret-syncs/terraform-cloud.mdx@@ -56,7 +56,7 @@ description: "Learn how to configure a Terraform Cloud Sync for Infisical."<Note>Terraform Cloud does not support importing secrets.</Note>- - **Key Schema**: The schema used in forming the final destination key.+ - **Key Schema**: Template that determines how secret names are transformed when syncing, using {{secretKey}} as a placeholder for the original secret name.- **Auto-Sync Enabled**: If enabled, secrets will automatically be synced from the source location when changes occur. Disable to enforce manual syncing only.- **Disable Secret Deletion**: If enabled, Infisical will not remove secrets from the sync destination. Enable this option if you intend to manage some secrets manually outside of Infisical.diff --git a/docs/integrations/secret-syncs/vercel.mdx b/docs/integrations/secret-syncs/vercel.mdxindex 0052e95513..ed8f0875e9 100644--- a/docs/integrations/secret-syncs/vercel.mdx+++ b/docs/integrations/secret-syncs/vercel.mdx@@ -43,7 +43,7 @@ description: "Learn how to configure a Vercel Sync for Infisical."- **Overwrite Destination Secrets**: Removes any secrets at the destination endpoint not present in Infisical.- **Import Secrets (Prioritize Infisical)**: Imports secrets from the destination endpoint before syncing, prioritizing values from Infisical over Vercel when keys conflict.- **Import Secrets (Prioritize Vercel)**: Imports secrets from the destination endpoint before syncing, prioritizing values from Vercel over Infisical when keys conflict.- - **Key Schema**: The schema used in forming the final destination key.+ - **Key Schema**: Template that determines how secret names are transformed when syncing, using {{secretKey}} as a placeholder for the original secret name.- **Auto-Sync Enabled**: If enabled, secrets will automatically be synced from the source location when changes occur. Disable to enforce manual syncing only.- **Disable Secret Deletion**: If enabled, Infisical will not remove secrets from the sync destination. Enable this option if you intend to manage some secrets manually outside of Infisical.diff --git a/docs/integrations/secret-syncs/windmill.mdx b/docs/integrations/secret-syncs/windmill.mdxindex 23ec68d872..2758290e64 100644--- a/docs/integrations/secret-syncs/windmill.mdx+++ b/docs/integrations/secret-syncs/windmill.mdx@@ -44,7 +44,7 @@ description: "Learn how to configure a Windmill Sync for Infisical."- **Overwrite Destination Secrets**: Removes any secrets at the destination endpoint not present in Infisical.- **Import Secrets (Prioritize Infisical)**: Imports secrets from the destination endpoint before syncing, prioritizing values from Infisical over Windmill when keys conflict.- **Import Secrets (Prioritize Windmill)**: Imports secrets from the destination endpoint before syncing, prioritizing values from Windmill over Infisical when keys conflict.- - **Key Schema**: The schema used in forming the final destination key.+ - **Key Schema**: Template that determines how secret names are transformed when syncing, using {{secretKey}} as a placeholder for the original secret name.- **Auto-Sync Enabled**: If enabled, secrets will automatically be synced from the source location when changes occur. Disable to enforce manual syncing only.- **Disable Secret Deletion**: If enabled, Infisical will not remove secrets from the sync destination. Enable this option if you intend to manage some secrets manually outside of Infisical.diff --git a/frontend/src/components/secret-syncs/forms/SecretSyncOptionsFields/SecretSyncOptionsFields.tsx b/frontend/src/components/secret-syncs/forms/SecretSyncOptionsFields/SecretSyncOptionsFields.tsxindex d6b6c77e55..82be0b6be7 100644--- a/frontend/src/components/secret-syncs/forms/SecretSyncOptionsFields/SecretSyncOptionsFields.tsx+++ b/frontend/src/components/secret-syncs/forms/SecretSyncOptionsFields/SecretSyncOptionsFields.tsx@@ -126,12 +126,12 @@ export const SecretSyncOptionsFields = ({ hideInitialSync }: Props) => {render={({ field: { value, onChange }, fieldState: { error } }) => (<FormControltooltipClassName="max-w-md"- tooltipText="When a secret is synced, it's key will be injected into the key schema before it reaches the destination. This is useful for organization."+ tooltipText="When a secret is synced, its key will be injected into the key schema before it reaches the destination. This is useful for organization."isError={Boolean(error)}isOptionalerrorText={error?.message}label="Key Schema"- helperText="Setting a Key Schema is recommended. This helps seperate synced secrets from regular secrets within a destination."+ helperText="Setting a Key Schema is recommended. This helps separate synced secrets from regular secrets within a destination."><Input value={value} onChange={onChange} placeholder="prefix/{{secretKey}}/suffix" /></FormControl>diff --git a/frontend/src/components/secret-syncs/forms/schemas/base-secret-sync-schema.ts b/frontend/src/components/secret-syncs/forms/schemas/base-secret-sync-schema.tsindex 55aedae6de..4e858ac0d9 100644--- a/frontend/src/components/secret-syncs/forms/schemas/base-secret-sync-schema.ts+++ b/frontend/src/components/secret-syncs/forms/schemas/base-secret-sync-schema.ts@@ -16,7 +16,7 @@ export const BaseSecretSyncSchema = <T extends AnyZodObject | undefined = undefi(val) => !val || /^(?:[a-zA-Z0-9\-/]*)(?:\{\{secretKey\}\})(?:[a-zA-Z0-9\-/]*)$/.test(val),{message:- "Key schema must include {{secretKey}} and only contain letters, numbers, dashes, slashes, and the {{secretKey}} placeholder."+ "Key schema must include one {{secretKey}} and only contain letters, numbers, dashes, slashes, and the {{secretKey}} placeholder."})});