Merge pull request #4227 from Infisical/ENG-3345

feat(machine-identity): Add AWS attributes for ABAC
This commit is contained in:
x032205
2025-07-24 11:59:17 -04:00
committed by GitHub
7 changed files with 147 additions and 67 deletions
@@ -162,6 +162,12 @@ export const injectIdentity = fp(async (server: FastifyZodProvider) => {
kubernetes: token?.identityAuth?.kubernetes
});
}
if (token?.identityAuth?.aws) {
requestContext.set("identityAuthInfo", {
identityId: identity.identityId,
aws: token?.identityAuth?.aws
});
}
break;
}
case AuthMode.SERVICE_TOKEN: {