Skip to content

Conversation

@cojenco
Copy link
Contributor

@cojenco cojenco commented Nov 10, 2022

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
@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 as code owners 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
Copy link
Contributor

@andrewsg andrewsg left a comment

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!

@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
Copy link
Contributor Author

cojenco commented Nov 17, 2022

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
Copy link
Contributor Author

cojenco commented Nov 28, 2022

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 join this conversation on GitHub. Already have an account? Sign in to comment

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