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
Update identity-aws-auth-validators.ts
Daniel Hougaard30284e3458f6
diff --git a/backend/src/services/identity-aws-auth/identity-aws-auth-validators.ts b/backend/src/services/identity-aws-auth/identity-aws-auth-validators.tsindex d0c255e9b2..2cc736f1e0 100644--- a/backend/src/services/identity-aws-auth/identity-aws-auth-validators.ts+++ b/backend/src/services/identity-aws-auth/identity-aws-auth-validators.ts@@ -1,7 +1,7 @@import { z } from "zod";const twelveDigitRegex = /^\d{12}$/;-const arnRegex = /^arn:aws:iam::\d{12}:(user\/[\w+=,.@/-]+|role\/[\w+=,.@/-]+|\*)$/;+const arnRegex = /^arn:aws:iam::\d{12}:(user\/[a-zA-Z0-9_.@+*/-]+|role\/[a-zA-Z0-9_.@+*/-]+|\*)$/;export const validateAccountIds = z.string()