Get GCS Bucket IAM Members with the API
Why
If you need a simple list of users and their permissions on a bucket, the UI can be annoying
How
Setup gcurl
Read here on how to setup gcurl
If you're lazy...
alias gcurl='curl -H "Authorization: Bearer $(gcloud auth print-access-token)" -H "Content-Type: application/json"'
Make the API call
Replace bucket_name
with the name of your bucket
Want to make this site better? Open a PR or help fund hosting costs