Skip to content

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

add comments on docs

adilson4342671813fe
diff --git a/backend/src/services/app-connection/keeper/keeper-connection-fns.ts b/backend/src/services/app-connection/keeper/keeper-connection-fns.ts
index 61aa32b3a2..09515bfeb0 100644
--- a/backend/src/services/app-connection/keeper/keeper-connection-fns.ts
+++ b/backend/src/services/app-connection/keeper/keeper-connection-fns.ts
@@ -18,6 +18,8 @@ import {
export const KEEPER_UID_PATTERN = /^[A-Za-z0-9_-]{1,64}$/;
+// Commander parses a positional UID starting with "-" as a flag and Service Mode blocks the "--" separator.
+// record-add never generates such a UID, so this only skips records created by other Keeper clients.
export const isAddressableKeeperUid = (uid: string) => KEEPER_UID_PATTERN.test(uid) && !uid.startsWith("-");
export const quoteKeeperArg = (value: string) => `'${value.replace(/'/g, `'"'"'`)}'`;
diff --git a/docs/integrations/secret-syncs/keeper-password-manager.mdx b/docs/integrations/secret-syncs/keeper-password-manager.mdx
index 8bf8314b56..56661c2d32 100644
--- a/docs/integrations/secret-syncs/keeper-password-manager.mdx
+++ b/docs/integrations/secret-syncs/keeper-password-manager.mdx
@@ -187,6 +187,10 @@ The sync writes secrets to a Keeper shared folder that the Infisical user can ma
</Check>
![Sync Created](/images/secret-syncs/keeper-password-manager/sync-created.png)
+
+ <Warning>
+ The sync only reads and writes login records. If someone changes a synced record to another record type in Keeper, the next sync creates a new login record with the same title.
+ </Warning>
</Step>
</Steps>
@@ -200,6 +204,12 @@ The sync writes secrets to a Keeper shared folder that the Infisical user can ma
subfolders. If two or more login records have the same title, the sync
updates the first one and, unless **Prevent secret deletion** is on, deletes
the others.
+
+ The sync also skips login records whose UID starts with `-`, because
+ Commander Service Mode can't run commands on them. Records that the sync
+ creates never have a UID that starts with `-`. If a skipped record has the
+ same title as a synced secret, the sync creates a separate login record with
+ that title, so delete the skipped record in Keeper if you don't need it.
</Accordion>
<Accordion title="Why does a sync fail with rate limit errors?">
Every sync reads the whole shared folder: one request to list the folder,