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 21 in GCP by anonymous
• 6,650 points
12 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 21 by Sirajul
• 40,980 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 23 in GCP by Sirajul
• 40,980 points
21 views
0 votes
1 answer
0 votes
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 in GCP by Sirajul
• 40,980 points
25 views
0 votes
1 answer

GCP Error: 403: Access Denied

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

answered Oct 9 in GCP by Sirajul
• 40,980 points
32 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 in GCP by Sirajul
• 40,980 points
93 views