Skip to content

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

Update backend/src/services/app-connection/hc-vault/hc-vault-connection-service.ts

varonix2fd5a659b6e8
diff --git a/backend/src/services/app-connection/hc-vault/hc-vault-connection-service.ts b/backend/src/services/app-connection/hc-vault/hc-vault-connection-service.ts
index 3c02379f24..614a0ad7a6 100644
--- a/backend/src/services/app-connection/hc-vault/hc-vault-connection-service.ts
+++ b/backend/src/services/app-connection/hc-vault/hc-vault-connection-service.ts
@@ -24,7 +24,7 @@ export const hcVaultConnectionService = (
try {
const mounts = await listHCVaultMounts(appConnection, gatewayService, gatewayV2Service);
- // Filter for KV version 2 mounts only and extract just the paths
+ // Filter for KV mounts (v1 and v2) and extract just the paths
return mounts
.filter((mount) => mount.type === "kv" && (mount.version === KvVersion.V2 || mount.version === KvVersion.V1))
.map((mount) => mount.path);