Title: Storage: Provide credential-free access to public-access buckets · Issue #4279 · googleapis/google-cloud-python · GitHub
Open Graph Title: Storage: Provide credential-free access to public-access buckets · Issue #4279 · googleapis/google-cloud-python
X Title: Storage: Provide credential-free access to public-access buckets · Issue #4279 · googleapis/google-cloud-python
Description: Per the GCS authentication doc: Objects are anonymously accessible if the allUsers group has READ permission. Add support for such access to the storage client. Two strategies seem possible: Add a classmethod factory to the Client class ...
Open Graph Description: Per the GCS authentication doc: Objects are anonymously accessible if the allUsers group has READ permission. Add support for such access to the storage client. Two strategies seem possible: Add a ...
X Description: Per the GCS authentication doc: Objects are anonymously accessible if the allUsers group has READ permission. Add support for such access to the storage client. Two strategies seem possible: Add a ...
Opengraph URL: https://github.com/googleapis/google-cloud-python/issues/4279
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Storage: Provide credential-free access to public-access buckets","articleBody":"Per the [GCS authentication doc](https://cloud.google.com/storage/docs/authentication):\r\n\r\n\u003e Objects are anonymously accessible if the `allUsers` group has `READ` permission.\r\n\r\nAdd support for such access to the storage client. Two strategies seem possible:\r\n\r\n- Add a classmethod factory to the `Client` class which bypasses inferring credentials from the user environment.\r\n- Add a custom `AnonymousCredentials` singleton which can be passed to the `Client` constructor.\r\n\r\nWe don't need to enforce any limits on the access to buckets / objects retrieved from the \"anonymous\" client: the back-end will return `UNAUTHORIZED`.\r\n\r\nSystem tests can use the `gcp-public-data-landsat` bucket, if desired (hopefully CI throttling won't be an issue).","author":{"url":"https://github.com/tseaver","@type":"Person","name":"tseaver"},"datePublished":"2017-10-30T18:23:34.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":9},"url":"https://github.com/4279/google-cloud-python/issues/4279"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:14a86d4d-0c77-6ec1-03f3-8419f0236a8e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8F6C:38032F:7808A2:A2361C:6A4D3A4F |
| html-safe-nonce | 1fc41fb5cf075c29cba6eba54284e1271704628554c987597152842a41d28ef4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RjZDOjM4MDMyRjo3ODA4QTI6QTIzNjFDOjZBNEQzQTRGIiwidmlzaXRvcl9pZCI6Ijc3NDQ3NTc3OTE0MzkxMTE5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | a28f161c1a84bfb30f4604682a69889250f51ad7be05853ef2265216fa4ac05c |
| hovercard-subject-tag | issue:269704757 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/googleapis/google-cloud-python/4279/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f446b2c23616753f826c072c3fd4d3a3e8f5f4bdd6317e562c5784c8a08ef681/googleapis/google-cloud-python/issues/4279 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f446b2c23616753f826c072c3fd4d3a3e8f5f4bdd6317e562c5784c8a08ef681/googleapis/google-cloud-python/issues/4279 |
| og:image:alt | Per the GCS authentication doc: Objects are anonymously accessible if the allUsers group has READ permission. Add support for such access to the storage client. Two strategies seem possible: Add a ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tseaver |
| hostname | github.com |
| expected-hostname | github.com |
| None | 92571a8944142227b7e19cd10918b1ddd06e5066c1ad5bc7e4769cf6140a87e6 |
| turbo-cache-control | no-preview |
| go-import | github.com/googleapis/google-cloud-python git https://github.com/googleapis/google-cloud-python.git |
| octolytics-dimension-user_id | 16785467 |
| octolytics-dimension-user_login | googleapis |
| octolytics-dimension-repository_id | 16316451 |
| octolytics-dimension-repository_nwo | googleapis/google-cloud-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 16316451 |
| octolytics-dimension-repository_network_root_nwo | googleapis/google-cloud-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 56fc8347865a14e2ec811533d68f929cf4e0ec19 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width