You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add public wrapper for _mtls_helper.check_use_client_cert which enables mTLS if GOOGLE_API_USE_CLIENT_CERTIFICATE is not set, when the MWID/X.509 cert sources detected (#1859) Add public wrapper for check_use_client_cert which enables mTLS if
13
+
GOOGLE_API_USE_CLIENT_CERTIFICATE is not set, when the MWID/X.509 cert
14
+
sources detected. Also, fix check_use_client_cert to return boolean
15
+
value.
16
+
Change #1848 added the check_use_client_cert method that helps know if
17
+
client cert should be used for mTLS connection. However, that was in a
18
+
private class, thus, created a public wrapper of the same function so
19
+
that it can be used by python Client Libraries. Also, updated
20
+
check_use_client_cert to return a boolean value instead of existing
21
+
string value for better readability and future scope.
* Enable mTLS if GOOGLE_API_USE_CLIENT_CERTIFICATE is not set, if the MWID/X.509 cert sources detected (#1848) The Python SDK will use a hybrid approach for mTLS enablement:
24
+
- If the GOOGLE_API_USE_CLIENT_CERTIFICATE environment variable is set
25
+
(either true or false), the SDK will respect that setting. This is
26
+
necessary for test scenarios and users who need to explicitly control
27
+
mTLS behavior.
28
+
- If the GOOGLE_API_USE_CLIENT_CERTIFICATE environment variable is not
29
+
set, the SDK will automatically enable mTLS only if it detects Managed
30
+
Workload Identity (MWID) or X.509 Workforce Identity Federation (WIF)
31
+
certificate sources. In other cases where the variable is not set, mTLS
32
+
will remain disabled.
33
+
** This change also adds the helper method `check_use_client_cert` and
34
+
it's unit test, which will be used for checking the criteria for setting
35
+
the mTLS to true
36
+
** This change is only for Auth-Library, other changes will be created
* Add trust boundary support for external accounts. ([#1809](https://github.com/googleapis/google-auth-library-python/issues/1809)) ([36ecb1d](https://github.com/googleapis/google-auth-library-python/commit/36ecb1d65883477d27faf9c2281fc289659b9903))
56
+
57
+
58
+
### Bug Fixes
59
+
60
+
* Read scopes from ADC json for impersoanted cred ([#1820](https://github.com/googleapis/google-auth-library-python/issues/1820)) ([62c0fc8](https://github.com/googleapis/google-auth-library-python/commit/62c0fc82a3625542381f85c698595446fc99ddae))
0 commit comments