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
This repository was archived by the owner on Mar 31, 2026. It is now read-only.

feat: add support for use_auth_w_custom_endpoint#901

Merged
cojenco merged 6 commits into
googleapis:maingoogleapis/python-storage:mainfrom
cojenco:custom-endpointcojenco/python-storage:custom-endpointCopy head branch name to clipboard
Nov 29, 2022
Merged

feat: add support for use_auth_w_custom_endpoint#901
cojenco merged 6 commits into
googleapis:maingoogleapis/python-storage:mainfrom
cojenco:custom-endpointcojenco/python-storage:custom-endpointCopy head branch name to clipboard

Conversation

@cojenco

@cojenco cojenco commented Nov 10, 2022

Copy link
Copy Markdown
Contributor

This adds a boolean flag use_auth_w_custom_endpoint - whether authentication is required with custom endpoints

  • only used when a custom endpoint in set in conjunction
  • defaults to True and uses authentication
  • if set to False, bypasses authentication

For backwards compatibility

  • by default, auth is bypassed when STORAGE_EMULATOR_HOST is set

Fixes #895 and internal b/258502260

@product-auto-label product-auto-label Bot added size: m Pull request size is medium. api: storage Issues related to the googleapis/python-storage API. labels Nov 10, 2022
Comment thread google/cloud/storage/client.py
@cojenco cojenco added kokoro:force-run Add this label to force Kokoro to re-run the tests. owlbot:run Add this label to trigger the Owlbot post processor. labels Nov 11, 2022
@gcf-owl-bot gcf-owl-bot Bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Nov 11, 2022
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Nov 11, 2022
@cojenco cojenco marked this pull request as ready for review November 15, 2022 00:21
@cojenco cojenco requested review from a team November 15, 2022 00:21
@cojenco cojenco added the owlbot:run Add this label to trigger the Owlbot post processor. label Nov 15, 2022
@gcf-owl-bot gcf-owl-bot Bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Nov 15, 2022

@andrewsg andrewsg left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Had one question, otherwise LGTM. Thanks!

Comment thread google/cloud/storage/client.py
@cojenco cojenco added the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Nov 16, 2022
@cojenco

cojenco commented Nov 17, 2022

Copy link
Copy Markdown
Contributor Author

Update: pending discussion with the GCS EngProd team to streamline usage and validate testing against non-prod environments

@cojenco cojenco added the owlbot:run Add this label to trigger the Owlbot post processor. label Nov 23, 2022
@gcf-owl-bot gcf-owl-bot Bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Nov 23, 2022
@cojenco cojenco added the owlbot:run Add this label to trigger the Owlbot post processor. label Nov 28, 2022
@gcf-owl-bot gcf-owl-bot Bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Nov 28, 2022
@cojenco

cojenco commented Nov 28, 2022

Copy link
Copy Markdown
Contributor Author

Synced offline with @rsaksham - prepod testing should not be affected by this change.

PR is ready to merge and release once freeze ends

@cojenco cojenco removed the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Nov 29, 2022
@cojenco cojenco merged commit 4862a9c into googleapis:main Nov 29, 2022
rsaksham added a commit to rsaksham/python-storage that referenced this pull request Nov 29, 2022
cojenco added a commit that referenced this pull request Nov 29, 2022
cojenco added a commit that referenced this pull request Nov 29, 2022
@cojenco cojenco deleted the custom-endpoint branch November 16, 2023 22:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

api: storage Issues related to the googleapis/python-storage API. size: m Pull request size is medium.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enable authentication when a non-default api_endpoint is set (just like the googleapis/nodejs-storage)

4 participants

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