post image :date_long | 1 min Read

Check permissions for users and service account in GCP via gcloud

[arch:tmp ] gcloud projects get-iam-policy <project-name>  \
--flatten="bindings[].members" \
--format='table(bindings.role)' \
--filter="bindings.members:usrname@domain.net"
ROLE
roles/iam.serviceAccountUser
roles/owner
roles/serviceusage.serviceUsageAdmin

202407191407

author image

Jan Toth

I have been in DevOps related jobs for past 6 years dealing mainly with Kubernetes in AWS and on-premise as well. I spent quite a lot …

comments powered by Disqus