<p>It's not currently possible to list all the accessible buckets <strong>across all cloud projects</strong>, neither in the developer console browser nor via the <code>gsutil</code> command. Both of them only display buckets for one project at a time.</p>

<p>But if you specify a particular project (or stick with the one selected by default) you can list the accessible buckets inside that project in both <code>gsutil</code> (as shown in @chupasaurus's answer) and in the developer console browser. In the browser you get to the project selection popup by clicking on the project's dropdown menu in the top navigation bar.</p>

<p>You could try to file a feature request for it at <a href="https://issuetracker.google.com/components/187243/manage#basic" rel="nofollow noreferrer">https://issuetracker.google.com/components/187243/manage#basic</a>, it <em>might</em> get accepted if it shows enough interest.</p>

CC BY-SA 3.0
2017-08-11T20:03:24.023Z
2017-08-11T20:03:24.023Z
Dan Cornilescu
<p>From AWS <a href="http://docs.aws.amazon.com/AmazonS3/latest/API/SOAPListAllMyBuckets.html" rel="nofollow noreferrer">documentation</a>: "The <code>ListAllMyBuckets</code> operation returns a list of all buckets <strong>owned</strong> by the sender of the request.". Owned, not having some access to it, and IIRC you can't see all the buckets you have read access in AWS Console either.</p>

<p><code>gsutil -p azerty ls gs://</code> would show all buckets which user have List access to.</p>

CC BY-SA 3.0
2017-07-12T11:35:06.663Z
Thanks for clarifications. I will rephrase my question and remove S3 references. Regarding gsutil, users would like to see buckets through GCP Web console.
Romain Hardouin
CC BY-SA 3.0
2017-07-11T15:59:46.573Z
2017-07-11T15:59:46.573Z
chupasaurus
<p>I created a storage bucket B and I granted a user as "Storage Object Viewer" on it.
The user can view bucket content with a direct link (e.g. <a href="https://console.cloud.google.com/storage/browser/B/?project=azerty" rel="nofollow noreferrer">https://console.cloud.google.com/storage/browser/B/?project=azerty</a>).</p>

<p>Is it possible to allow a user to list all buckets that he is allowed to read? It would be more user friendly to see them in Storage Browser Web console i.e. <a href="https://console.cloud.google.com/storage/browser" rel="nofollow noreferrer">https://console.cloud.google.com/storage/browser</a></p>

<google-cloud-platform><google-cloud-storage><gcp>
How to allow users to list authorized buckets in GCP Storage?
Romain Hardouin
# How to allow users to list authorized buckets in GCP Storage?

(Asked by: username_0 on 2017-07-11)

I created a storage bucket B and I granted a user as "Storage Object Viewer" on it.
The user can view bucket content with a direct link (e.g. <https://console.cloud.google.com/storage/browser/B/?project=azerty>).

Is it possible to allow a user to list all buckets that he is allowed to read? It would be more user friendly to see them in Storage Browser Web console i.e. <https://console.cloud.google.com/storage/browser>

**Tags:** google-cloud-platform, google-cloud-storage, gcp


---

## 2 answers

### Answer by username_1 on 2017-08-11. Score: 1 | Accepted answer

It's not currently possible to list all the accessible buckets **across all cloud projects**, neither in the developer console browser nor via the `gsutil` command. Both of them only display buckets for one project at a time.

But if you specify a particular project (or stick with the one selected by default) you can list the accessible buckets inside that project in both `gsutil` (as shown in @username_2's answer) and in the developer console browser. In the browser you get to the project selection popup by clicking on the project's dropdown menu in the top navigation bar.

You could try to file a feature request for it at <https://issuetracker.google.com/components/187243/manage#basic>, it *might* get accepted if it shows enough interest.


---

### Answer by username_2 on 2017-07-11. Score: 0

From AWS [documentation](http://docs.aws.amazon.com/AmazonS3/latest/API/SOAPListAllMyBuckets.html): "The `ListAllMyBuckets` operation returns a list of all buckets **owned** by the sender of the request.". Owned, not having some access to it, and IIRC you can't see all the buckets you have read access in AWS Console either.

`gsutil -p azerty ls gs://` would show all buckets which user have List access to.

> **Comments:**
> **username_0**: Thanks for clarifications. I will rephrase my question and remove S3 references. Regarding gsutil, users would like to see buckets through GCP Web console.  

---

