How to change bucket permission using gsutil command?

#export COMPUTE_SVC_ACCOUNT=$(gcloud iam service-accounts list –filter=”displayName:’Compute Engine default service account'” –format=’value(email)’)

# gsutil iam ch serviceAccount:$COMPUTE_SVC_ACCOUNT:objectAdmin gs://<BUCKET_NAME>

Viet Luu has written 143 articles

Leave a Reply