# Principal access boundary limiting the resources principals can access

Facts read 10 Nov 2026. Page reviewed 16 Nov 2026.

Principal access boundary limiting the resources principals can access is a Google Cloud guardrail written in principal access boundary (PAB) policies. A principal access boundary policy lists the projects, folders and organizations principals are eligible to access, so a principal bound to it is blocked from other resources whatever roles it holds.

```text
gcloud iam principal-access-boundary-policies create PAB_POLICY_ID \
--organization=ORG_ID --location=global \
--display-name=DISPLAY_NAME --details-rules=FILE_PATH.json \
--details-enforcement-version=ENFORCEMENT_VERSION

{
"description": "DESCRIPTION",
"resources": [
RESOURCES
],
"effect": "ALLOW"
}
```

- **Blocks:** A principal access boundary policy lists the projects, folders and organizations principals are eligible to access, so a principal bound to it is blocked from other resources whatever roles it holds.
- **Breaks:** Google documents that a policy only blocks permissions in its enforcement version, so an access attempt using a permission it cannot block is not stopped. ([source](https://cloud.google.com/iam/docs/principal-access-boundary-policies))
- **Test before applying:** Google lists Policy Simulator for Principal Access Boundary policies in its documentation, and Policy Troubleshooter examines Principal Access Boundary policies for a given principal, resource and permission. ([source](https://cloud.google.com/policy-intelligence/docs/test-organization-policies))
- **Mechanism:** [Principal access boundary (PAB) policies](/mechanisms/principal-access-boundary/): Principal sets bound to the policy through a policy binding; blocks only permissions in the policy enforcement version.
- **Taken from:** [provider documentation](https://cloud.google.com/iam/docs/principal-access-boundary-policies-create), provider documentation

## What the source says

"A list of Resource Manager resources (projects, folders, and organizations) that you want principals to be eligible to access." (read 10 Nov 2026).

On what it breaks: "If a Principal Access Boundary policy can't block a permission, then the policy has no effect on whether principals can use the permission."

## Related guardrails

- [Deny AWS RAM sharing with external accounts](/guardrails/aws-scp-deny-ram-external-sharing/): AWS, Service control policies (SCPs), data exfiltration
- [Block public sharing of EBS snapshots (declarative policy)](/guardrails/aws-declarative-snapshot-block-public-access/): AWS, Declarative policies, data exfiltration
- [Storage SAS tokens should adhere to 7 day maximum validity](/guardrails/azure-policy-storage-sas-7-days/): Azure, Azure Policy (built-in definitions), data exfiltration
- [Domain restricted sharing](/guardrails/gcp-orgpolicy-domain-restricted-sharing/): Google Cloud, Organization Policy Service (managed and legacy constraints), data exfiltration
- [Service perimeter around managed services](/guardrails/gcp-vpcsc-service-perimeter/): Google Cloud, VPC Service Controls (service perimeters), data exfiltration
- [Allowed destinations for exporting resources](/guardrails/gcp-orgpolicy-allowed-export-destinations/): Google Cloud, Organization Policy Service (managed and legacy constraints), data exfiltration

## Related pages

- [Enforce public access prevention on Cloud Storage (Google Cloud Organization Policy Service)](/guardrails/gcp-orgpolicy-storage-public-access-prevention/)
- [Restrict public IP access on Cloud SQL instances (Google Cloud Organization Policy Service)](/guardrails/gcp-orgpolicy-sql-restrict-public-ip/)
- [Define allowed external IPs for VM instances (Google Cloud Organization Policy Service)](/guardrails/gcp-orgpolicy-vm-external-ip-access/)

## Sources

- Principal access boundary limiting the resources principals can access: https://cloud.google.com/iam/docs/principal-access-boundary-policies-create (read 10 Nov 2026)
- What it breaks: https://cloud.google.com/iam/docs/principal-access-boundary-policies (read 10 Nov 2026)
- How to test it first: https://cloud.google.com/policy-intelligence/docs/test-organization-policies (read 10 Nov 2026)

Last reviewed 16 Nov 2026. Canonical: https://cloudgovernancetools.com/guardrails/gcp-pab-eligible-resources/
