Skip to content

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

greptile review fixes

x032205d49c1e4b722c
diff --git a/backend/src/services/app-connection/1password/1password-connection-service.ts b/backend/src/services/app-connection/1password/1password-connection-service.ts
index eae9484e90..8e1df95368 100644
--- a/backend/src/services/app-connection/1password/1password-connection-service.ts
+++ b/backend/src/services/app-connection/1password/1password-connection-service.ts
@@ -1,3 +1,4 @@
+import { logger } from "@app/lib/logger";
import { OrgServiceActor } from "@app/lib/types";
import { AppConnection } from "../app-connection-enums";
@@ -18,6 +19,7 @@ export const onePassConnectionService = (getAppConnection: TGetAppConnectionFunc
const vaults = await listOnePassVaults(appConnection);
return vaults;
} catch (error) {
+ logger.error(error, "Failed to establish connection with 1Password");
return [];
}
};
diff --git a/docs/integrations/app-connections/1password.mdx b/docs/integrations/app-connections/1password.mdx
index 0da38449aa..0c3926a1b4 100644
--- a/docs/integrations/app-connections/1password.mdx
+++ b/docs/integrations/app-connections/1password.mdx
@@ -19,7 +19,7 @@ Infisical supports the use of [Service Accounts](https://developer.1password.com
![Click Connect Server](/images/app-connections/1password/click-connect-server.png)
</Step>
<Step title="Configure Connect Server">
- 1. Input a name for you Connect Server
+ 1. Input a name for your Connect Server
2. Click "Choose Vaults" and select the vaults you want to connect
3. For each selected vault, click **Edit Access** and **Enable All**
4. Click "Add Environment"
@@ -89,7 +89,7 @@ Infisical supports the use of [Service Accounts](https://developer.1password.com
--header 'Content-Type: application/json' \
--data '{
"name": "my-1password-connection",
- "method": "access-key",
+ "method": "api-token",
"credentials": {
"instanceUrl": "https://1pass.example.com",
"apiToken": "[PRIVATE TOKEN]"
diff --git a/docs/integrations/secret-syncs/1password.mdx b/docs/integrations/secret-syncs/1password.mdx
index a5295b0780..a33f54c8dd 100644
--- a/docs/integrations/secret-syncs/1password.mdx
+++ b/docs/integrations/secret-syncs/1password.mdx
@@ -93,7 +93,7 @@ description: "Learn how to configure a 1Password Sync for Infisical."
"syncOptions": {
"initialSyncBehavior": "overwrite-destination"
},
- "destinationConfig":
+ "destinationConfig": {
"vaultId": "..."
}
}'
diff --git a/frontend/src/components/secret-syncs/forms/SecretSyncDestinationFields/1PasswordSyncFields.tsx b/frontend/src/components/secret-syncs/forms/SecretSyncDestinationFields/1PasswordSyncFields.tsx
index 6f78279ce9..1202ec8759 100644
--- a/frontend/src/components/secret-syncs/forms/SecretSyncDestinationFields/1PasswordSyncFields.tsx
+++ b/frontend/src/components/secret-syncs/forms/SecretSyncDestinationFields/1PasswordSyncFields.tsx
@@ -69,10 +69,6 @@ export const OnePassSyncFields = () => {
</FormControl>
)}
/>
-
- <span className="text-sm text-bunker-300">
- Not selecting a Build Configuration will sync your secrets to the entire project.
- </span>
</>
);
};