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
fix: stuck on password step resolved
=c4797ea0609d
diff --git a/frontend/src/helpers/project.ts b/frontend/src/helpers/project.tsindex ff8e700a4e..6c4e91ffc5 100644--- a/frontend/src/helpers/project.ts+++ b/frontend/src/helpers/project.ts@@ -93,27 +93,29 @@ const initProjectHelper = async ({ projectName }: { projectName: string }) => {});try {- secrets?.forEach((secret) => {- createSecret({- workspaceId: project.id,- environment: secret.environment,- type: secret.type,- secretKey: secret.secretName,- secretKeyCiphertext: secret.secretKeyCiphertext,- secretKeyIV: secret.secretKeyIV,- secretKeyTag: secret.secretKeyTag,- secretValueCiphertext: secret.secretValueCiphertext,- secretValueIV: secret.secretValueIV,- secretValueTag: secret.secretValueTag,- secretCommentCiphertext: secret.secretCommentCiphertext,- secretCommentIV: secret.secretCommentIV,- secretCommentTag: secret.secretCommentTag,- secretPath: "/",- metadata: {- source: "signup"- }- });- });+ await Promise.allSettled(+ (secrets || []).map((secret) =>+ createSecret({+ workspaceId: project.id,+ environment: secret.environment,+ type: secret.type,+ secretKey: secret.secretName,+ secretKeyCiphertext: secret.secretKeyCiphertext,+ secretKeyIV: secret.secretKeyIV,+ secretKeyTag: secret.secretKeyTag,+ secretValueCiphertext: secret.secretValueCiphertext,+ secretValueIV: secret.secretValueIV,+ secretValueTag: secret.secretValueTag,+ secretCommentCiphertext: secret.secretCommentCiphertext,+ secretCommentIV: secret.secretCommentIV,+ secretCommentTag: secret.secretCommentTag,+ secretPath: "/",+ metadata: {+ source: "signup"+ }+ })+ )+ );} catch (err) {console.error("Failed to upload secrets", err);}