GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||
GeezerVison is showing github.com — feat: expose cert and key for mTLS by bcoe · Pull Request #1014 · googleapis/gax-nodejs
This repository was archived by the owner on Nov 18, 2025. It is now read-only.
Conversation
bcoe
commented
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This method will actually be invoked in generated code.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is workflow like this: a user can pass Is that all generator need to do to support mTLS?
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @summer-ji-eng I'll share the AIP. There's a couple environment variables we check for, and a well known file location (which might have information for connecting through mTLS). I think this would make more sense in the generated code, potentially, than this layer?
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsThere was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. At the first glance, I think one possible design is: For microgenerator, in the client initialization
(2) check GOOGLE_API_USE_MTLS_ENDPOINT env var. Figure out the api endpoint to use, based on if user provided api endpoint via _opts.apiEndpoint, and this env var value, and if _opts.cert, _opts.key exists. Then set _opts.service_path to the right endpoint (regular or mtls) For gax, use the code in this PR + the APIs for default cert/key
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
bcoe
commented
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
summer-ji-eng
approved these changes
gcf-merge-on-green Bot
pushed a commit
that referenced
this pull request
🤖 I have created a release \*beep\* \*boop\* --- ## [2.15.0](https://www.github.com/googleapis/gax-nodejs/compare/v2.14.1...v2.15.0) (2021-06-10) ### Features * expose cert and key for mTLS ([#1014](https://www.github.com/googleapis/gax-nodejs/issues/1014)) ([f025fc1](https://www.github.com/googleapis/gax-nodejs/commit/f025fc155c505792bc74929a7803a2df63c331cd)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Reviewers2 more reviewersUh oh!
There was an error while loading. Please reload this page. AssigneesNo one assignedLabels
cla: yes
ProjectsMilestoneNo milestoneDevelopmentSuccessfully merging this pull request may close these issues. Uh oh!
There was an error while loading. Please reload this page. Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later. | ||||||||||||||||||||||||
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |