GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat: Auto enable mTLS when supported certificates are detected by agrawalradhika-cell · Pull Request #869 · googleapis/python-api-core

This repository was archived by the owner on Feb 23, 2026. It is now read-only.

Conversation

@agrawalradhika-cell

@agrawalradhika-cell agrawalradhika-cell commented Nov 21, 2025

Copy link
Copy Markdown
Contributor

The Python SDK will use a hybrid approach for mTLS enablement:

If the GOOGLE_API_USE_CLIENT_CERTIFICATE environment variable is set (either true or false or any value), the SDK will respect that setting. This is necessary for test scenarios and users who need to explicitly control mTLS behavior.
If the GOOGLE_API_USE_CLIENT_CERTIFICATE environment variable is not set, the SDK will automatically enable mTLS only if it detects Managed Workload Identity (MWID) or X.509 Workforce Identity Federation (WIF) certificate sources. In other cases where the variable is not set, mTLS will remain disabled.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@agrawalradhika-cell
feat: Auto enable mTLS when supported certificates are detected
633ab62
Signed-off-by: Radhika Agrawal <[email protected]>
@agrawalradhika-cell
agrawalradhika-cell requested review from a team November 21, 2025 05:24
@product-auto-label product-auto-label Bot added the size: s Pull request size is small. label Nov 21, 2025
@blunderbuss-gcf blunderbuss-gcf Bot assigned daniel-sanche Nov 21, 2025
@agrawalradhika-cell
fix: fix lint errors
da0747c
Signed-off-by: Radhika Agrawal <[email protected]>
daniel-sanche
daniel-sanche suggested changes Dec 2, 2025
View reviewed changes
Comment thread tests/unit/operations_v1/test_operations_rest_client.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread google/api_core/operations_v1/abstract_operations_base_client.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

agrawalradhika-cell added 2 commits December 3, 2025 22:25
@agrawalradhika-cell
fix: Update tests for coverage of all branches
56dc762
Signed-off-by: Radhika Agrawal <[email protected]>
@agrawalradhika-cell
fix: fix the lint errors existing
8bfc4ba
Signed-off-by: Radhika Agrawal <[email protected]>
daniel-sanche
daniel-sanche reviewed Dec 4, 2025
View reviewed changes
Comment thread tests/unit/operations_v1/test_operations_rest_client.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread tests/unit/operations_v1/test_operations_rest_client.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread tests/unit/operations_v1/test_operations_rest_client.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

@agrawalradhika-cell
chore: Update comments on test and update google.auth check to be don…
4cb55e0
…e by version number

Signed-off-by: Radhika Agrawal <[email protected]>
daniel-sanche
daniel-sanche reviewed Dec 4, 2025
View reviewed changes
Comment thread tests/unit/operations_v1/test_operations_rest_client.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

@agrawalradhika-cell
agrawalradhika-cell requested a review from daniel-sanche December 5, 2025 16:54
daniel-sanche
daniel-sanche approved these changes Dec 5, 2025
View reviewed changes

@daniel-sanche daniel-sanche left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

LGTM

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
andyrzhao
andyrzhao approved these changes Dec 5, 2025
View reviewed changes
@Linchin
Linchin self-requested a review December 5, 2025 21:15
Linchin
Linchin approved these changes Dec 5, 2025
View reviewed changes
@daniel-sanche
daniel-sanche merged commit f8bf6f9 into googleapis:main Dec 5, 2025
This was referenced Jan 8, 2026
chore: librarian release pull request: 20260108T122817Z #881
Closed
chore: librarian release pull request: 20260108T134327Z #883
Merged
daniel-sanche added a commit that referenced this pull request Jan 8, 2026
@daniel-sanche
chore: librarian release pull request: 20260108T134327Z (#883)
014d3de
PR created by the Librarian CLI to initialize a release. Merging this PR
will auto trigger a release.

Librarian Version: v1.0.1
Language Image:
us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-prod/python-librarian-generator@sha256:c8612d3fffb3f6a32353b2d1abd16b61e87811866f7ec9d65b59b02eb452a620
<details><summary>google-api-core: 2.29.0</summary>

##
[2.29.0](v2.28.1...v2.29.0)
(2026-01-08)

### Features

* make parse_version_to_tuple public (#864)
([c969186](c969186f))

* Auto enable mTLS when supported certificates are detected (#869)
([f8bf6f9](f8bf6f96))

### Bug Fixes

* remove call to importlib.metadata.packages_distributions() for
py38/py39 (#859)
([628003e](628003e2))

* Log version check errors (#858)
([6493118](6493118c))

* flaky tests due to imprecision in floating point calculation and
performance test setup (#865)
([9340408](93404080))

* closes tailing streams in bidi classes. (#851)
([c97b3a0](c97b3a00))

</details>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

3 more reviewers
@daniel-sanche daniel-sanche daniel-sanche approved these changes
@Linchin Linchin Linchin approved these changes
@andyrzhao andyrzhao andyrzhao approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@daniel-sanche daniel-sanche

Labels

size: s Pull request size is small.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

4 participants

@agrawalradhika-cell @daniel-sanche @Linchin @andyrzhao
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 01402775 — 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.