Cloud Intelligence™Cloud Intelligence™

Cloud Intelligence™

View GCP User Role Assignments

This page is also available in Deutsch, Español, Français, Italiano, 日本語, and Português.

Garrett Schaeffer
By Garrett Schaeffer
Jul 6, 20201 min read

So, using something like this…

gcloud organizations get-iam-policy <ORGANIZATION_ID> --filter="bindings.members:<[email protected]>" --flatten="bindings[].members" --format="table(bindings.role)" > roles.txt

…provides a nice clean output file that can be easily shared and looks similar to this.

ROLE
roles/billing.admin
roles/compute.xpnAdmin
roles/iam.organizationRoleAdmin
roles/orgpolicy.policyAdmin
roles/resourcemanager.organizationAdmin
roles/securitycenter.admin
roles/storage.admin

With the above, we’re getting data directly from the cloud environment that all stakeholders involved may use.

Cloud bill shouldn't be a mystery

One platform for AI and Cloud optimization.