Class IdentityPoolCredentialSource.CertificateConfig (1.35.0)

publicstaticclass IdentityPoolCredentialSource.CertificateConfigimplementsSerializable

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.

Inheritance

java.lang.Object > IdentityPoolCredentialSource.CertificateConfig

Implements

Serializable

Methods

getCertificateConfigLocation()

publicStringgetCertificateConfigLocation()

Returns the path to the client certificate file, or null if not set.

Returns
Type Description
String

getTrustChainPath()

publicStringgetTrustChainPath()

Returns the path to the trust chain file, or null if not set.

Returns
Type Description
String

useDefaultCertificateConfig()

publicbooleanuseDefaultCertificateConfig()

Returns whether the default certificate configuration should be used.

Returns
Type Description
boolean

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.