Custom Roles

57 views
Skip to first unread message

abhishek singh

unread,
Nov 11, 2020, 3:19:52 PM11/11/20
to google-cicp-discussion
We have custom roles created at organization level. I see the permissions assigned to these custom roles from console. 
I am not able to find a gcloud equivalent command to list all permission assigned to a role based on condition. 

aartisoni

unread,
Nov 11, 2020, 6:42:29 PM11/11/20
to google-cicp-discussion
Hello,

You could use the following gcloud command to list all the permissions that a custom role contains:

gcloud iam roles describe custom-role-id --organization=organization-id
 
Additionally, I highly recommend you to read this document which explains how you can view metadata for predefined roles and custom roles.

I hope this helps.
Reply all
Reply to author
Forward
0 new messages