- The target role must have a trust policy that allows the PAM role (created in the - "Resources" tab) to assume it. If your target role name follows the - wildcard pattern you defined in the PAM role's permissions policy, no - additional changes are needed. + The target role must have a trust policy that allows the Resource Role (created in + the "Resources" tab) to assume it. Ensure the target role's trust + policy includes the Resource Role as a trusted principal.
@@ -247,12 +246,11 @@ export const AwsIamAccountForm = ({ account, resourceId, resourceType, onSubmit
- Note: The Principal role ARN shown above is from the PAM Resource
+ Note: The Principal role ARN shown above is from the Resource
selected for this account. The External ID{" "}
{projectId} is your
- current project ID. If your target role name doesn't match the wildcard pattern
- in your PAM Resource's role's permissions policy, you'll need to
- update that policy to include this role's ARN.
+ current project ID. If you configured granular permissions in your Resource
+ Role's policy, ensure this target role's ARN is included.
{details.name} resource
- This policy allows the PAM role to assume target roles. We recommend using a
- wildcard pattern (e.g.,{" "}
- pam-* or{" "}
- privileged-*) so you
- can add new accounts without updating this policy. Choose a prefix that fits your
- naming conventions.
+ This policy allows the Resource Role to assume target roles. For simplicity, use a
+ wildcard to allow assuming any role in your account. For more granular control,
+ replace /* with a
+ specific pattern like{" "}
+ /pam-* or{" "}
+ /infisical-*.
- Step 2: Create the PAM role with a trust policy + Step 2: Create the Resource Role with a trust policy
Create an IAM role (e.g.,{" "}
- InfisicalPAMRole)
- with the permissions policy above and the following trust policy:
+ InfisicalResourceRole
+ ) with the permissions policy above and the following trust policy:
{INFISICAL_AWS_ACCOUNT_EU}
{" "}
- for EU region. Replace{" "}
-
- <INFISICAL_AWS_ACCOUNT_ID>
- {" "}
- with the appropriate Infisical AWS account ID for your region. The External ID{" "}
+ for EU region. For dedicated instances, contact Infisical support. For self-hosted
+ instances, use your Infisical deployment's AWS account ID. The External ID{" "}
{projectId} is your
current project ID.
diff --git a/frontend/src/pages/pam/PamResourcesPage/components/PamResourceHeader.tsx b/frontend/src/pages/pam/PamResourcesPage/components/PamResourceHeader.tsx
index 4b4fd34c4..c9b5e9274 100644
--- a/frontend/src/pages/pam/PamResourcesPage/components/PamResourceHeader.tsx
+++ b/frontend/src/pages/pam/PamResourcesPage/components/PamResourceHeader.tsx
@@ -1,5 +1,10 @@
+import { DocumentationLinkBadge } from "@app/components/v3";
import { PAM_RESOURCE_TYPE_MAP, PamResourceType } from "@app/hooks/api/pam";
+const PAM_RESOURCE_DOCS_MAP: PartialResource