Class AuthSchemePreferenceResolver

java.lang.Object
software.amazon.awssdk.awscore.auth.AuthSchemePreferenceResolver

public final class AuthSchemePreferenceResolver extends Object
A resolver for the default value of auth scheme preference. This checks environment variables, system properties and the profile file for the relevant configuration options when resolveAuthSchemePreference() is invoked.
  • Method Details

    • builder

      public static AuthSchemePreferenceResolver.Builder builder()
    • resolveAuthSchemePreference

      public List<String> resolveAuthSchemePreference()
      Resolve the auth scheme preference based on the following order of precedence: 1. System settings (jvm and then environment). 2. Profile file
      Returns:
      The resolved, ordered list of auth scheme preferences or an empty list if no values are found.