Class DefaultCdpCredentialProviderChain
java.lang.Object
com.cloudera.cdp.authentication.credentials.CdpCredentialsProviderChain
com.cloudera.cdp.authentication.credentials.DefaultCdpCredentialProviderChain
- All Implemented Interfaces:
CdpCredentialsProvider
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic CdpCredentialsProviderChain
Gets the default credential provider chain.Methods inherited from class com.cloudera.cdp.authentication.credentials.CdpCredentialsProviderChain
getCredentials
-
Constructor Details
-
DefaultCdpCredentialProviderChain
public DefaultCdpCredentialProviderChain()Constructor.
-
-
Method Details
-
getInstance
Gets the default credential provider chain.- Returns:
- the default credential provider chain
-