Interface CdpCredentialsProvider

All Known Implementing Classes:
CdpCredentialsProviderChain, CdpEnvironmentVariableCredentialsProvider, CdpInteractiveLoginCredentialsProvider, CdpProfileCredentialsProvider, CdpSystemPropertiesCredentialsProvider, DefaultCdpCredentialProviderChain, StaticCdpCredentialsProvider

public interface CdpCredentialsProvider
Interface for providing CDP credentials. Implementations are free to use any strategy for providing CDP credentials, such as simply providing static credentials that don't change, or more complicated implementations, such as integrating with existing key management systems.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns CdpCredentials which the caller can use to authenticate a CDP request.
  • Method Details

    • getCredentials

      CdpCredentials getCredentials()
      Returns CdpCredentials which the caller can use to authenticate a CDP request. Each implementation of CdpCredentialsProvider can chose its own strategy for loading credentials. For example, an implementation might load credentials from an existing key management system, or load new credentials when credentials are rotated.
      Returns:
      CdpCredentials which the caller can use to authenticate an CDP request.