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
default to host sts for aws auth
Maidul Islamfb06f5a3bccd
diff --git a/backend/src/services/identity-aws-auth/identity-aws-auth-service.ts b/backend/src/services/identity-aws-auth/identity-aws-auth-service.tsindex 6e303c1f7c..ddbbe20390 100644--- a/backend/src/services/identity-aws-auth/identity-aws-auth-service.ts+++ b/backend/src/services/identity-aws-auth/identity-aws-auth-service.ts@@ -65,7 +65,7 @@ export const identityAwsAuthServiceFactory = ({}}: { data: TGetCallerIdentityResponse } = await axios({method: iamHttpRequestMethod,- url: identityAwsAuth.stsEndpoint,+ url: headers?.Host ? `https://${headers.Host}` : identityAwsAuth.stsEndpoint,headers,data: body});