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 Details

    • useDefaultCertificateConfig

      public boolean useDefaultCertificateConfig()
      Returns whether the default certificate configuration should be used.
    • getCertificateConfigLocation

      @Nullable public String getCertificateConfigLocation()
      Returns the path to the client certificate file, or null if not set.
    • getTrustChainPath

      @Nullable public String getTrustChainPath()
      Returns the path to the trust chain file, or null if not set.