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
x032205c29b5e37f3ad
diff --git a/backend/src/services/app-connection/auth0/auth0-connection-fns.ts b/backend/src/services/app-connection/auth0/auth0-connection-fns.tsindex 5a9989b433..de4faf6836 100644--- a/backend/src/services/app-connection/auth0/auth0-connection-fns.ts+++ b/backend/src/services/app-connection/auth0/auth0-connection-fns.ts@@ -91,7 +91,7 @@ export const validateAuth0ConnectionCredentials = async ({ credentials }: TAuth0};} catch (e: unknown) {throw new BadRequestError({- message: (e as Error).message ?? `Unable to validate connection: verify credentials`+ message: (e as Error).message ?? "Unable to validate connection: verify credentials"});}};diff --git a/backend/src/services/app-connection/azure-app-configuration/azure-app-configuration-connection-fns.ts b/backend/src/services/app-connection/azure-app-configuration/azure-app-configuration-connection-fns.tsindex 80e65a821c..d173a47b57 100644--- a/backend/src/services/app-connection/azure-app-configuration/azure-app-configuration-connection-fns.ts+++ b/backend/src/services/app-connection/azure-app-configuration/azure-app-configuration-connection-fns.ts@@ -70,7 +70,7 @@ export const validateAzureAppConfigurationConnectionCredentials = async (tokenError = e;} else {throw new BadRequestError({- message: `Unable to validate connection: verify credentials`+ message: "Unable to validate connection: verify credentials"});}}diff --git a/backend/src/services/app-connection/azure-client-secrets/azure-client-secrets-connection-fns.ts b/backend/src/services/app-connection/azure-client-secrets/azure-client-secrets-connection-fns.tsindex 41dbb43929..2614cfd12b 100644--- a/backend/src/services/app-connection/azure-client-secrets/azure-client-secrets-connection-fns.ts+++ b/backend/src/services/app-connection/azure-client-secrets/azure-client-secrets-connection-fns.ts@@ -186,7 +186,7 @@ export const validateAzureClientSecretsConnectionCredentials = async (config: TAtokenError = e;} else {throw new BadRequestError({- message: `Unable to validate connection: verify credentials`+ message: "Unable to validate connection: verify credentials"});}}diff --git a/backend/src/services/app-connection/azure-devops/azure-devops-fns.ts b/backend/src/services/app-connection/azure-devops/azure-devops-fns.tsindex 39a3303608..a3a9f10bd8 100644--- a/backend/src/services/app-connection/azure-devops/azure-devops-fns.ts+++ b/backend/src/services/app-connection/azure-devops/azure-devops-fns.ts@@ -204,7 +204,7 @@ export const validateAzureDevOpsConnectionCredentials = async (config: TAzureDevtokenError = e;} else {throw new BadRequestError({- message: `Unable to validate connection: verify credentials`+ message: "Unable to validate connection: verify credentials"});}}diff --git a/backend/src/services/app-connection/azure-key-vault/azure-key-vault-connection-fns.ts b/backend/src/services/app-connection/azure-key-vault/azure-key-vault-connection-fns.tsindex 1f88488c05..d6a260050c 100644--- a/backend/src/services/app-connection/azure-key-vault/azure-key-vault-connection-fns.ts+++ b/backend/src/services/app-connection/azure-key-vault/azure-key-vault-connection-fns.ts@@ -186,7 +186,7 @@ export const validateAzureKeyVaultConnectionCredentials = async (config: TAzureKtokenError = e;} else {throw new BadRequestError({- message: `Unable to validate connection: verify credentials`+ message: "Unable to validate connection: verify credentials"});}}diff --git a/backend/src/services/app-connection/camunda/camunda-connection-fns.ts b/backend/src/services/app-connection/camunda/camunda-connection-fns.tsindex 90d9744b87..91a033c0e8 100644--- a/backend/src/services/app-connection/camunda/camunda-connection-fns.ts+++ b/backend/src/services/app-connection/camunda/camunda-connection-fns.ts@@ -82,7 +82,7 @@ export const validateCamundaConnectionCredentials = async (appConnection: TCamun};} catch (e: unknown) {throw new BadRequestError({- message: `Unable to validate connection: verify credentials`+ message: "Unable to validate connection: verify credentials"});}};diff --git a/backend/src/services/app-connection/databricks/databricks-connection-fns.ts b/backend/src/services/app-connection/databricks/databricks-connection-fns.tsindex a35cc4aec3..8912ad9369 100644--- a/backend/src/services/app-connection/databricks/databricks-connection-fns.ts+++ b/backend/src/services/app-connection/databricks/databricks-connection-fns.ts@@ -89,7 +89,7 @@ export const validateDatabricksConnectionCredentials = async (appConnection: TDa};} catch (e: unknown) {throw new BadRequestError({- message: `Unable to validate connection: verify credentials`+ message: "Unable to validate connection: verify credentials"});}};diff --git a/backend/src/services/app-connection/github-radar/github-radar-connection-fns.ts b/backend/src/services/app-connection/github-radar/github-radar-connection-fns.tsindex fba852a0a0..7349f89a60 100644--- a/backend/src/services/app-connection/github-radar/github-radar-connection-fns.ts+++ b/backend/src/services/app-connection/github-radar/github-radar-connection-fns.ts@@ -114,7 +114,7 @@ export const validateGitHubRadarConnectionCredentials = async (config: TGitHubRa}throw new BadRequestError({- message: `Unable to validate connection: verify credentials`+ message: "Unable to validate connection: verify credentials"});}diff --git a/backend/src/services/app-connection/github/github-connection-fns.ts b/backend/src/services/app-connection/github/github-connection-fns.tsindex 164aa31d94..05e6fdda34 100644--- a/backend/src/services/app-connection/github/github-connection-fns.ts+++ b/backend/src/services/app-connection/github/github-connection-fns.ts@@ -447,7 +447,7 @@ export const validateGitHubConnectionCredentials = async (}throw new BadRequestError({- message: `Unable to validate connection: verify credentials`+ message: "Unable to validate connection: verify credentials"});}diff --git a/backend/src/services/app-connection/hc-vault/hc-vault-connection-fns.ts b/backend/src/services/app-connection/hc-vault/hc-vault-connection-fns.tsindex 6b12c3aed6..44b18f30f7 100644--- a/backend/src/services/app-connection/hc-vault/hc-vault-connection-fns.ts+++ b/backend/src/services/app-connection/hc-vault/hc-vault-connection-fns.ts@@ -172,7 +172,7 @@ export const validateHCVaultConnectionCredentials = async (}throw new BadRequestError({- message: `Unable to validate connection: verify credentials`+ message: "Unable to validate connection: verify credentials"});}};diff --git a/docs/integrations/app-connections/hashicorp-vault.mdx b/docs/integrations/app-connections/hashicorp-vault.mdxindex 4277d1e9cc..c49b53ab82 100644--- a/docs/integrations/app-connections/hashicorp-vault.mdx+++ b/docs/integrations/app-connections/hashicorp-vault.mdx@@ -149,7 +149,7 @@ Infisical supports two methods for connecting to Hashicorp Vault.<Tab title="App Role">- **Name**: The name of the connection being created. Must be slug-friendly.- **Description**: An optional description to provide details about this connection.- - **Gateway (optional):** The gateway connected to your private network.+ - **Gateway (optional):** The gateway connected to your private network. All requests made to your Vault instance will be made through the configured gateway.- **Instance URL**: The URL of your Hashicorp Vault instance.- **Namespace (optional)**: The namespace within your vault. Self-hosted and enterprise clusters may not use namespaces.- **Role ID**: The Role ID generated in the steps above.@@ -158,7 +158,7 @@ Infisical supports two methods for connecting to Hashicorp Vault.<Tab title="Access Token">- **Name**: The name of the connection being created. Must be slug-friendly.- **Description**: An optional description to provide details about this connection.- - **Gateway (optional):** The gateway connected to your private network.+ - **Gateway (optional):** The gateway connected to your private network. All requests made to your Vault instance will be made through the configured gateway.- **Instance URL**: The URL of your Hashicorp Vault instance.- **Namespace (optional)**: The namespace within your vault. Self-hosted and enterprise clusters may not use namespaces.- **Access Token**: The Access Token generated in the steps above.diff --git a/frontend/src/pages/organization/AppConnections/AppConnectionsPage/components/AppConnectionForm/HCVaultConnectionForm.tsx b/frontend/src/pages/organization/AppConnections/AppConnectionsPage/components/AppConnectionForm/HCVaultConnectionForm.tsxindex 07c323e8a9..78d937fc6a 100644--- a/frontend/src/pages/organization/AppConnections/AppConnectionsPage/components/AppConnectionForm/HCVaultConnectionForm.tsx+++ b/frontend/src/pages/organization/AppConnections/AppConnectionsPage/components/AppConnectionForm/HCVaultConnectionForm.tsx@@ -137,7 +137,6 @@ export const HCVaultConnectionForm = ({ appConnection, onSubmit }: Props) => {<Controllercontrol={control}name="gatewayId"- defaultValue=""render={({ field: { value, onChange }, fieldState: { error } }) => (<FormControlisError={Boolean(error?.message)}