Class AwsDefaultProviderChainPlugin

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      com.amazonaws.auth.AWSCredentialsProvider getCredentialProvider()
      Returned AWSCredentialsProvider can give AWSCredentials in case credential belongs to IAM user or it can return BasicSessionCredentials if user wants to generate temporary credential for a given IAM role.
      software.amazon.awssdk.auth.credentials.AwsCredentialsProvider getV2CredentialsProvider()
      Returns a V2 credential provider for use with the v2 SDK.
      void init​(java.lang.String param)
      accepts aws-account related param and initialize credential provider.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AwsDefaultProviderChainPlugin

        public AwsDefaultProviderChainPlugin()
    • Method Detail

      • getCredentialProvider

        public com.amazonaws.auth.AWSCredentialsProvider getCredentialProvider()
        Description copied from interface: AwsCredentialProviderPlugin
        Returned AWSCredentialsProvider can give AWSCredentials in case credential belongs to IAM user or it can return BasicSessionCredentials if user wants to generate temporary credential for a given IAM role.
        Specified by:
        getCredentialProvider in interface AwsCredentialProviderPlugin
        Returns:
      • getV2CredentialsProvider

        public software.amazon.awssdk.auth.credentials.AwsCredentialsProvider getV2CredentialsProvider()
        Description copied from interface: AwsCredentialProviderPlugin
        Returns a V2 credential provider for use with the v2 SDK. Defaults to an implementation that pulls credentials from a v1 provider
        Specified by:
        getV2CredentialsProvider in interface AwsCredentialProviderPlugin
      • close

        public void close()
                   throws java.io.IOException
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Throws:
        java.io.IOException