Sharing bucket data with a group of users

0 votes
I want to share data of a cloud storage bucket with a group of users who are not a part of my Google cloud project, And for this I have created a google group and included all these people. How do I include this group into my cloud storage bucket?
Nov 22, 2019 in GCP by anonymous
• 19,610 points
665 views

1 answer to this question.

0 votes

For example, for the gs-announce Google Group, you can configure:

# Read access to the bucket so that its contents can be listed.

gsutil acl ch -g 'gs-announce@googlegroups.com:R' gs://example-bucket

# Default bucket ACL so any new objects added at a later date are readable.

gsutil defacl ch -g 'gs-announce@googlegroups.com:R' gs://example-bucket

# Read access to all of a bucket's current contents.

gsutil -m acl ch -R -g 'gs-announce@googlegroups.com:R' gs://example-bucket
answered Nov 22, 2019 by Sirajul
• 59,230 points

Related Questions In GCP

0 votes
1 answer

Listing the contents of a cloud storage bucket folder.

Use the gsutil ls command to list the contents ...READ MORE

answered Oct 24, 2019 in GCP by Sirajul
• 59,230 points
2,297 views
0 votes
1 answer

How to change the storage class of objects within a bucket?

You could do this probably by overwriting the ...READ MORE

answered Oct 25, 2019 in GCP by Sirajul
• 59,230 points
1,943 views
+1 vote
1 answer

How do I change the default storage class of a bucket?

Use the gsutil defstorageclass set command: gsutil defstorageclass set [STORAGE_CLASS] ...READ MORE

answered Oct 25, 2019 in GCP by Sirajul
• 59,230 points
851 views
0 votes
1 answer

GCP Error: 403: Access Denied

Check that your credentials are correct. For ...READ MORE

answered Oct 9, 2019 in GCP by Sirajul
• 59,230 points
3,984 views
0 votes
1 answer

Permissions issue with Google Cloud Storage Bucket.

You can regain access to the object by assigning an applicable role, like roles/storage.objectAdmin, to ...READ MORE

answered Oct 10, 2019 in GCP by Sirajul
• 59,230 points
4,916 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP