Package com.google.auth.oauth2
Class IdentityPoolCredentialSource.CertificateConfig
java.lang.Object
com.google.auth.oauth2.IdentityPoolCredentialSource.CertificateConfig
- All Implemented Interfaces:
Serializable
- Enclosing class:
- IdentityPoolCredentialSource
public static class IdentityPoolCredentialSource.CertificateConfig
extends Object
implements Serializable
Represents the configuration options for X.509-based workload credentials (mTLS). It specifies
how to locate and use the client certificate, private key, and optional trust chain for mutual
TLS authentication.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionReturns the path to the client certificate file, or null if not set.Returns the path to the trust chain file, or null if not set.booleanReturns whether the default certificate configuration should be used.
-
Method Details
-
useDefaultCertificateConfig
public boolean useDefaultCertificateConfig()Returns whether the default certificate configuration should be used. -
getCertificateConfigLocation
Returns the path to the client certificate file, or null if not set. -
getTrustChainPath
Returns the path to the trust chain file, or null if not set.
-