Last active
May 27, 2022 15:42
-
-
Save jamiekt/2510fdc00cb355c80e93993805b968a1 to your computer and use it in GitHub Desktop.
Useful gcloud IAM commands
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gcloud projects get-iam-policy project-id \ | |
--filter="bindings.role:roles/workflows.editor" \ | |
--flatten="bindings[].members" \ | |
--format="table(bindings.members)" | |
#### output | |
# group:[email protected] | |
# user:[email protected] | |
# servceAccount:[email protected] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment