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
greptile review fix
x032205777b67555bb4
diff --git a/frontend/src/pages/pam/PamResourcesPage/components/PamResourceForm/PostgresResourceForm.tsx b/frontend/src/pages/pam/PamResourcesPage/components/PamResourceForm/PostgresResourceForm.tsxindex 427fff40b6..20ac710c3f 100644--- a/frontend/src/pages/pam/PamResourcesPage/components/PamResourceForm/PostgresResourceForm.tsx+++ b/frontend/src/pages/pam/PamResourcesPage/components/PamResourceForm/PostgresResourceForm.tsx@@ -34,10 +34,12 @@ export const PostgresResourceForm = ({ resource, onSubmit }: Props) => {defaultValues: resource? {...resource,- rotationAccountCredentials: {- ...resource.rotationAccountCredentials,- password: "******"- }+ rotationAccountCredentials: resource.rotationAccountCredentials+ ? {+ ...resource.rotationAccountCredentials,+ password: "******"+ }+ : resource.rotationAccountCredentials}: {resourceType: PamResourceType.Postgres,