hardgcloud
Search across all IAM policies in a project to find specific role grants
command
gcloud asset search-all-iam-policies --scope projects/PROJECT_ID --query QUERYalso accepted
gcloud asset search-all-iam-policiescommand
gcloud asset search-all-iam-policies --scope projects/PROJECT_ID --query QUERYalso accepted
gcloud asset search-all-iam-policiesPart of the Google Cloud CLI (gcloud) — IAM category.
| Flag | Purpose |
|---|---|
--scope | Boolean flag |
--query | Boolean flag |
Test your recall — not just your reading.
Practice with interactive quiz →