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
Add support for syncing secrets containing / to AWS parameter store integration
Tuan Dang6dd46885f813
diff --git a/backend/src/integrations/sync.ts b/backend/src/integrations/sync.tsindex 2867ad44f9..8023f74a26 100644--- a/backend/src/integrations/sync.ts+++ b/backend/src/integrations/sync.ts@@ -688,15 +688,17 @@ const syncSecretsAWSParameterStore = async ({const parameterList = (await ssm.getParametersByPath(params).promise()).Parameters;let awsParameterStoreSecretsObj: {- [key: string]: any; // TODO: fix type+ [key: string]: any;} = {};if (parameterList) {awsParameterStoreSecretsObj = parameterList.reduce(- (obj: any, secret: any) => ({- ...obj,- [secret.Name.split("/").pop()]: secret- }),+ (obj: any, secret: any) => {+ return ({+ ...obj,+ [secret.Name.substring(integration.path.length)]: secret+ });+ },{});}