FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

feat: add mtls feature by arithmetic1728 · Pull Request #492 · googleapis/python-bigquery · GitHub

This repository was archived by the owner on Mar 6, 2026. It is now read-only.
/ python-bigquery Public archive

feat: add mtls feature - #492

Merged
tswast merged 6 commits into
masterfrom
mtls_rebase
Feb 5, 2021
Merged

feat: add mtls feature#492
tswast merged 6 commits into
masterfrom
mtls_rebase

Conversation

arithmetic1728 commented Jan 28, 2021
edited
Loading

Copy link
Copy Markdown
Contributor

https://google.aip.dev/auth/4114
googlers see this doc for more details.

Part of the mtls feature is implemented in googleapis/python-cloud-core#75, and will be released as version 1.16.0.

This PR adds the mtls feature to bigquery client lib. Note that:
(1) if the python-cloud-core version is < 1.16.0, this PR does nothing, it is backward compatible and won't break any current users.
(2) if the user sets GOOGLE_API_USE_CLIENT_CERTIFICATE env var to "true" to trigger mtls, then the PR checks python-cloud-core version. It throws an exception asking the user to bump the version, if the version < 1.16.0. So probably it is a good idea to release python-cloud-core 1.16.0 before merging this PR.
(3) the unit tests work for both python-cloud-core versions, so unit test shouldn't break after the upgrading in the future.

product-auto-label Bot added the api: bigquery Issues related to the googleapis/python-bigquery API. label Jan 28, 2021
google-cla Bot added the cla: yes This human has signed the Contributor License Agreement. label Jan 28, 2021
Comment thread google/cloud/bigquery/client.py Outdated
arithmetic1728 changed the title [WIP] feat: add mtls feature feat: add mtls feature Jan 28, 2021
arithmetic1728 marked this pull request as ready for review February 1, 2021 09:57
arithmetic1728 requested review from a team, busunkim96, steffnay and tswast and removed request for a team February 1, 2021 09:57

tswast 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.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Looking good, thanks! Just a few nits.

Comment thread tests/unit/test__http.py Outdated
arithmetic1728 and others added 4 commits February 4, 2021 13:53
Co-authored-by: Tim Swast <swast@google.com>
Co-authored-by: Tim Swast <swast@google.com>
Co-authored-by: Tim Swast <swast@google.com>
Co-authored-by: Tim Swast <swast@google.com>

Copy link
Copy Markdown
Contributor Author

Looking good, thanks! Just a few nits.

Committed all the suggested changes. Thank you!

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

api: bigquery Issues related to the googleapis/python-bigquery API. cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL