Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

remove unnecessary comment

adilson7e1b2ef03631
diff --git a/backend/src/services/app-connection/aws/aws-connection-fns.ts b/backend/src/services/app-connection/aws/aws-connection-fns.ts
index 306760f00b..9b72105cdf 100644
--- a/backend/src/services/app-connection/aws/aws-connection-fns.ts
+++ b/backend/src/services/app-connection/aws/aws-connection-fns.ts
@@ -62,8 +62,6 @@ export const getAwsConnectionConfig = async (appConnection: TAwsConnectionConfig
switch (method) {
case AwsConnectionMethod.AssumeRole: {
const client = new STSClient({
- // when a custom STS endpoint is set, sign for the region embedded in that endpoint so the
- // request isn't rejected for being scoped to the wrong region; otherwise use the caller's region
region: getStsSigningRegion(credentials.stsEndpoint) ?? region,
useFipsEndpoint: crypto.isFipsModeEnabled(),
sha256: CustomAWSHasher,