Returns if mutual TLS client certificate should be used. If the value is true, the key store
from#getKeyStore()will be used to configure mutual TLS transport.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[[["\u003cp\u003eThe latest version available is 2.63.1, with a list of prior versions extending down to 2.7.1, all related to the \u003ccode\u003ecom.google.api.gax.rpc.mtls.MtlsProvider\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eMtlsProvider\u003c/code\u003e is a class that configures mutual TLS (mTLS) within the transport layer using the default client certificate found on the device.\u003c/p\u003e\n"],["\u003cp\u003eThis library is still in the beta phase and is covered under the Pre-GA Offerings Terms, which may result in limited support and compatibility issues between pre-GA versions.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMtlsProvider\u003c/code\u003e class allows users to retrieve a \u003ccode\u003eKeyStore\u003c/code\u003e with the \u003ccode\u003egetKeyStore()\u003c/code\u003e method, returning the mTLS key store created with the default client certificate, or if the client certificate should be used with the \u003ccode\u003euseMtlsClientCertificate()\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003egetMtlsEndpointUsagePolicy()\u003c/code\u003e method retrieves the current policy for mTLS endpoint usage.\u003c/p\u003e\n"]]],[],null,[]]