How do I list all IAM users for my Google Cloud Project

后端 未结 5 1360
野的像风
野的像风 2020-12-08 21:38

I\'d like to be able to list all users and service account associated with my projects (preferably using the gcloud CLI tool, but happy to make

5条回答
  •  萌比男神i
    2020-12-08 22:11

    The following command can give clear view of the MEMBERS of your Project within the GCP account : gcloud projects get-iam-policy PROJECT_ID --flatten="bindings[].members" --format="table(bindings.members)"

提交回复
热议问题