Back to IAM & Security

IAM Architecture & Resource Hierarchy

gcp

Fine-grained identity and access governance across Google Cloud resources.

IAM & SECURITY
Google Cloud Platform

Fine-grained identity and access governance across Google Cloud resources.

Click any section above to jump directly to it

What is IAM Architecture & Resource Hierarchy?

Google Cloud Identity and Access Management (IAM) lets administrators authorize who can take action on specific resources, giving you full control and visibility to manage Google Cloud resources centrally. IAM defines policies that bind Principals (Google Accounts, Service Accounts, Google Groups) to Roles (collections of permissions) at various levels of the Google Cloud Resource Hierarchy.

Decision Guide: When to Choose This Service

When to Use IAM Architecture & Resource Hierarchy

Use Cloud IAM to define 'Who (member/principal)' can do 'What (permissions/roles)' on 'Which resource' across your entire Google Cloud resource hierarchy.

When NOT to Use (Recommended Alternatives)

Do NOT use IAM for application-level end-user authorization (e.g. verifying which customer can view an invoice in your web app); use application database authorization or Firebase Auth rules for that.

Core Architectural Pillars

Resource Hierarchy

Organization (root domain) > Folders (business units / environments) > Projects (billing and API boundary) > Resources.

Policy Inheritance

Permissions granted at higher levels cannot be revoked at lower levels (effective access is the union of all ancestor policies).

Principals

Google Account (`user:user@example.com`), Service Account (`serviceAccount:sa@project.iam.gserviceaccount.com`), Google Group (`group:devs@example.com`), Cloud Identity domain (`domain:example.com`), or Authenticated Users.

IAM Conditions

Enforce contextual access rules based on time of day, request IP, resource tags, or resource name prefixes.

Deny Policies

Explicitly block permissions across an organization or folder regardless of other allow policies.