Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add SslCredentials class for mTLS ADC #448

Merged
merged 18 commits into from
Mar 19, 2020
Merged

feat: add SslCredentials class for mTLS ADC #448

merged 18 commits into from
Mar 19, 2020

Conversation

arithmetic1728
Copy link
Contributor

add SslCredentials class for mTLS ADC (linux only)

go/adc-for-dca-python

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Feb 24, 2020
@arithmetic1728 arithmetic1728 changed the title add mTLS support for grpc feat: add SslCredentials class for mTLS ADC (linux) Feb 24, 2020
@arithmetic1728
Copy link
Contributor Author

For grpc mTLS ADC support.

google/auth/transport/_mtls_helper.py Outdated Show resolved Hide resolved
google/auth/transport/_mtls_helper.py Outdated Show resolved Hide resolved
google/auth/transport/_mtls_helper.py Show resolved Hide resolved
google/auth/transport/_mtls_helper.py Show resolved Hide resolved
google/auth/transport/_mtls_helper.py Outdated Show resolved Hide resolved
google/auth/transport/_mtls_helper.py Outdated Show resolved Hide resolved
google/auth/transport/_mtls_helper.py Outdated Show resolved Hide resolved
google/auth/transport/_mtls_helper.py Outdated Show resolved Hide resolved
google/auth/transport/_mtls_helper.py Outdated Show resolved Hide resolved
google/auth/transport/_mtls_helper.py Outdated Show resolved Hide resolved
Co-Authored-By: Bu Sun Kim <8822365+busunkim96@users.noreply.github.com>
@broady
Copy link

broady commented Feb 26, 2020

Looks pretty good overall... do you have it hooked up to secure_authorized_channel, or is that for later?

@arithmetic1728
Copy link
Contributor Author

Looks pretty good overall... do you have it hooked up to secure_authorized_channel, or is that for later?

Hooked it up to secure_authorized_channel in the new commit.

@arithmetic1728 arithmetic1728 changed the title feat: add SslCredentials class for mTLS ADC (linux) feat: add SslCredentials class for mTLS ADC Mar 3, 2020
Copy link
Contributor

@busunkim96 busunkim96 left a comment

Choose a reason for hiding this comment

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

Mostly nits on the docstrings to get the style consistent with existing functions. 😄

Do you have plans for a system test, or is that infeasible?

google/auth/transport/_mtls_helper.py Outdated Show resolved Hide resolved
google/auth/transport/grpc.py Show resolved Hide resolved
google/auth/transport/_mtls_helper.py Outdated Show resolved Hide resolved
google/auth/transport/_mtls_helper.py Outdated Show resolved Hide resolved
google/auth/transport/_mtls_helper.py Outdated Show resolved Hide resolved
google/auth/transport/grpc.py Outdated Show resolved Hide resolved
google/auth/transport/grpc.py Outdated Show resolved Hide resolved
google/auth/transport/grpc.py Outdated Show resolved Hide resolved
google/auth/transport/grpc.py Outdated Show resolved Hide resolved
google/auth/transport/grpc.py Outdated Show resolved Hide resolved
@googleapis googleapis deleted a comment from busunkim96 Mar 5, 2020
@arithmetic1728
Copy link
Contributor Author

Mostly nits on the docstrings to get the style consistent with existing functions. 😄

Do you have plans for a system test, or is that infeasible?

Yes, will do in a different PR.

Copy link

@chrisdunelm chrisdunelm left a comment

Choose a reason for hiding this comment

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

LGTM

@arithmetic1728 arithmetic1728 merged commit dafb41f into googleapis:master Mar 19, 2020
@busunkim96 busunkim96 mentioned this pull request Mar 25, 2020
gcf-merge-on-green bot pushed a commit that referenced this pull request Mar 25, 2020
🤖 I have created a release \*beep\* \*boop\* 
---
## [1.12.0](https://www.github.com/googleapis/google-auth-library-python/compare/v1.11.3...v1.12.0) (2020-03-25)


### Features

* add mTLS ADC support for HTTP ([#457](https://www.github.com/googleapis/google-auth-library-python/issues/457)) ([bb9215a](https://www.github.com/googleapis/google-auth-library-python/commit/bb9215ad6dee6c1dc7f255a2e4ed7011b85bd6cf))
* add SslCredentials class for mTLS ADC ([#448](https://www.github.com/googleapis/google-auth-library-python/issues/448)) ([dafb41f](https://www.github.com/googleapis/google-auth-library-python/commit/dafb41fae3f513ea9a4f93404f6148bee7dda202))
* fetch id token from GCE metadata server ([#462](https://www.github.com/googleapis/google-auth-library-python/issues/462)) ([97e7700](https://www.github.com/googleapis/google-auth-library-python/commit/97e7700da031bfd80b63b1a3d2abc29c500936ef))


### Bug Fixes

* don't use threads for gRPC AuthMetadataPlugin ([#467](https://www.github.com/googleapis/google-auth-library-python/issues/467)) ([ee373f8](https://www.github.com/googleapis/google-auth-library-python/commit/ee373f88b512a38e791a1c085452c6c6da501eb6))
* make ThreadPoolExecutor a class var ([#461](https://www.github.com/googleapis/google-auth-library-python/issues/461)) ([b526473](https://www.github.com/googleapis/google-auth-library-python/commit/b5264730603947295cc97ecff2f6aef84aa3d6e9))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants