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
misc: moved aws creds to constructor
Sheen Capadnganbc58f6b98858
diff --git a/backend/src/services/integration-auth/integration-auth-service.ts b/backend/src/services/integration-auth/integration-auth-service.tsindex a5514de71d..e5126532f4 100644--- a/backend/src/services/integration-auth/integration-auth-service.ts+++ b/backend/src/services/integration-auth/integration-auth-service.ts@@ -574,14 +574,14 @@ export const integrationAuthServiceFactory = ({const botKey = await projectBotService.getBotKey(integrationAuth.projectId);const { accessId, accessToken } = await getIntegrationAccessToken(integrationAuth, botKey);- AWS.config.update({+ const kms = new AWS.KMS({region,credentials: {accessKeyId: String(accessId),secretAccessKey: accessToken}});- const kms = new AWS.KMS();+const aliases = await kms.listAliases({}).promise();const keyAliases = aliases.Aliases!.filter((alias) => {