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
chore(identity-aws-auth): bump allowedAccountIds to 4096 to match allowedPrincipalArns
Devin AIf5c63c29baad
diff --git a/backend/src/db/migrations/20260502134832_increase-aws-account-ids-field-size.ts b/backend/src/db/migrations/20260502134832_increase-aws-account-ids-field-size.tsindex 40a58483ea..d551fae0c4 100644--- a/backend/src/db/migrations/20260502134832_increase-aws-account-ids-field-size.ts+++ b/backend/src/db/migrations/20260502134832_increase-aws-account-ids-field-size.ts@@ -6,7 +6,7 @@ export async function up(knex: Knex): Promise<void> {const hasColumn = await knex.schema.hasColumn(TableName.IdentityAwsAuth, "allowedAccountIds");if (hasColumn) {await knex.schema.alterTable(TableName.IdentityAwsAuth, (t) => {- t.string("allowedAccountIds", 2048).notNullable().alter();+ t.string("allowedAccountIds", 4096).notNullable().alter();});}}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 ed7f6696a8..270b202d67 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@@ -12,7 +12,7 @@ const arnRegex = new RE2(export const validateAccountIds = z.string().trim()- .max(2048)+ .max(4096).default("")// Custom validation to ensure each part is a 12-digit number.refine(