Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Storage: Provide credential-free access to public-access buckets #4279

Copy link
Copy link
@tseaver

Description

@tseaver
Issue body actions

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 which bypasses inferring credentials from the user environment.
  • Add a custom AnonymousCredentials singleton which can be passed to the Client constructor.

We don't need to enforce any limits on the access to buckets / objects retrieved from the "anonymous" client: the back-end will return UNAUTHORIZED.

System tests can use the gcp-public-data-landsat bucket, if desired (hopefully CI throttling won't be an issue).

dhermes and wolfiex

Metadata

Metadata

Assignees

Labels

api: storageIssues related to the Cloud Storage API.Issues related to the Cloud Storage API.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.