Skip to content

Conversation

@agrawalradhika-cell
Copy link
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.

@agrawalradhika-cell agrawalradhika-cell requested review from a team as code owners 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
Signed-off-by: Radhika Agrawal <[email protected]>
Copy link
Contributor

@daniel-sanche daniel-sanche left a comment

Choose a reason for hiding this comment

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

LGTM

@Linchin Linchin self-requested a review December 5, 2025 21:15
@daniel-sanche daniel-sanche merged commit f8bf6f9 into googleapis:main Dec 5, 2025
17 of 18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size: s Pull request size is small.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants