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
feat: removed explicit check for aws access key credential allowing to pick it automatically
=d5b17a8f24b1
diff --git a/backend/src/services/integration-auth/integration-sync-secret.ts b/backend/src/services/integration-auth/integration-sync-secret.tsindex c193b6e4c6..4d32f819a5 100644--- a/backend/src/services/integration-auth/integration-sync-secret.ts+++ b/backend/src/services/integration-auth/integration-sync-secret.ts@@ -720,15 +720,15 @@ const syncSecretsAWSSecretManager = async ({let secretAccessKey = "";let sessionToken;if (awsAssumeRoleArn) {- if (!appCfg.CLIENT_ID_AWS_INTEGRATION || !appCfg.CLIENT_SECRET_AWS_INTEGRATION)- throw new Error("Missing AWS Credentials for Assuming Role. Contact server admin.");-const client = new STSClient({region: integration.region as string,- credentials: {- accessKeyId: appCfg.CLIENT_ID_AWS_INTEGRATION,- secretAccessKey: appCfg.CLIENT_SECRET_AWS_INTEGRATION- }+ credentials:+ appCfg.CLIENT_ID_AWS_INTEGRATION && appCfg.CLIENT_SECRET_AWS_INTEGRATION+ ? {+ accessKeyId: appCfg.CLIENT_ID_AWS_INTEGRATION,+ secretAccessKey: appCfg.CLIENT_SECRET_AWS_INTEGRATION+ }+ : undefined});const command = new AssumeRoleCommand({RoleArn: awsAssumeRoleArn,