Skip to content

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

fix(identity-auth): shorten trust binding error messages

Calvineb2d169c8c8c
diff --git a/backend/src/services/identity-aws-auth/identity-aws-auth-fns.ts b/backend/src/services/identity-aws-auth/identity-aws-auth-fns.ts
index 8a79edde0e..345058a3c1 100644
--- a/backend/src/services/identity-aws-auth/identity-aws-auth-fns.ts
+++ b/backend/src/services/identity-aws-auth/identity-aws-auth-fns.ts
@@ -101,5 +101,4 @@ export const hasAwsTrustBinding = ({
allowedPrincipalArns?: string | null;
}) => Boolean(allowedAccountIds?.trim()) || Boolean(allowedPrincipalArns?.trim());
-export const AWS_TRUST_BINDING_REQUIRED_MESSAGE =
- "Configure at least one allowed AWS account ID or principal ARN. Without one, any AWS principal that knows this identity's ID could log in as it.";
+export const AWS_TRUST_BINDING_REQUIRED_MESSAGE = "Configure at least one allowed AWS account ID or principal ARN.";
diff --git a/backend/src/services/identity-gcp-auth/identity-gcp-auth-fns.ts b/backend/src/services/identity-gcp-auth/identity-gcp-auth-fns.ts
index 54fce57aa3..318adcdb63 100644
--- a/backend/src/services/identity-gcp-auth/identity-gcp-auth-fns.ts
+++ b/backend/src/services/identity-gcp-auth/identity-gcp-auth-fns.ts
@@ -24,7 +24,7 @@ export const hasGcpTrustBinding = ({
};
export const GCP_TRUST_BINDING_REQUIRED_MESSAGE =
- "Configure at least one allowed GCP service account, or for GCE identities an allowed project. A zone alone is not enough, because zones are shared by every GCP customer. Without one, any GCP workload that knows this identity's ID could log in as it.";
+ "Configure at least one allowed GCP service account, or for GCE identities an allowed project.";
/**
* Validates that the identity token [jwt] sent in from a client GCE instance as part of GCP ID Token authentication