Class DefaultCdpCredentialProviderChain

java.lang.Object
com.cloudera.cdp.authentication.credentials.CdpCredentialsProviderChain
com.cloudera.cdp.authentication.credentials.DefaultCdpCredentialProviderChain
All Implemented Interfaces:
CdpCredentialsProvider

public class DefaultCdpCredentialProviderChain extends CdpCredentialsProviderChain
CDP credential provider chain that looks for credentials in the following order: environment variables, system properties then credential profiles file. See the individual credential provider classes for more detail.
  • Constructor Details

    • DefaultCdpCredentialProviderChain

      public DefaultCdpCredentialProviderChain()
      Constructor.
  • Method Details

    • getInstance

      public static CdpCredentialsProviderChain getInstance()
      Gets the default credential provider chain.
      Returns:
      the default credential provider chain