Skip to content

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

add comment

Andrey3ef88125ee72
diff --git a/backend/src/ee/services/pam-session/pam-session-access-fns.ts b/backend/src/ee/services/pam-session/pam-session-access-fns.ts
index d8e2421810..705de00ca9 100644
--- a/backend/src/ee/services/pam-session/pam-session-access-fns.ts
+++ b/backend/src/ee/services/pam-session/pam-session-access-fns.ts
@@ -186,6 +186,8 @@ export const terminatePamSessionsForUsers = async ({
return () => {
for (const session of sessions) {
+ // Gateway-less types (AWS IAM) hand STS credentials straight to the user; AWS has no per-session
+ // revocation, so those stay valid until they expire.
if (session.gatewayId) {
const sessionActor = resolveSessionActor(session);
sendPamSessionCancellationSignal({