gcloud iam

IAM policies

high risk

interactive breakdown — edit the command and press Explain
$ 
⚠ Risks & cautions
Safer / dry-run alternatives
gcloud projects get-iam-policy <p> > iam.bak.jsonBack up the policy first
What it does

Manage service accounts and bindings. See the flags and examples below, and run `man gcloud` for the full reference.

Examples
gcloud projects get-iam-policy my-projCurrent bindings · explain & risk-check →
Related
gcloud
Open the full explainer →More in AWS, Azure & GCP CLIs

Reference text is hand-written and may be incomplete — check man gcloud for your version. Test destructive commands on a non-production system first.