gcloud projects get-iam-policy [PROJECT-ID] lists all users with their roles for specific project. There are different filters and formatters available but I can't seem to find the right way to just filter only by specific role.
$ gcloud projects get-iam-policy MY_PROJECT bindings: - members: - serviceAccount:email@example.com - user:firstname.lastname@example.org role: roles/editor - members: - user:email@example.com - user:firstname.lastname@example.org role: roles/owner etag: ARBITRARY_ETAG_HERE version: 1
--filter= expression that I need to use to list only users with the role
--querything does not help