Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

roles associated with gcloud service account

gcloud projects get-iam-policy <YOUR GCLOUD PROJECT>  
--flatten="bindings[].members" 
--format='table(bindings.role)' 
--filter="bindings.members:<YOUR SERVICE ACCOUNT>"
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #roles #gcloud #service #account
ADD COMMENT
Topic
Name
3+3 =