Google Cloud Platform
Overview
Setup Options
Permissions Check
gcloud auth logingcloud organizations list ACCESS_TOKEN=$(gcloud auth print-access-token)
curl -X POST \
-H "Authorization: Bearer ${ACCESS_TOKEN}" \
-H "Content-Type: application/json" \
"https://cloudresourcemanager.googleapis.com/v1/organizations/<your org id>:testIamPermissions" \
-d '{
"permissions": [
"resourcemanager.projects.create",
"resourcemanager.organizations.get",
"resourcemanager.organizations.setIamPolicy",
"resourcemanager.organizations.getIamPolicy",
"serviceusage.services.enable",
"iam.serviceAccounts.list",
"iam.serviceAccounts.create",
"iam.workloadIdentityPoolProviders.create"
]
}' Last updated
Was this helpful?
