Class CredentialUtils

java.lang.Object
software.amazon.awssdk.http.auth.aws.internal.signer.util.CredentialUtils

public final class CredentialUtils extends Object
  • Method Details

    • isAnonymous

      public static boolean isAnonymous(AwsCredentialsIdentity credentials)
      Determine whether the provided credentials are anonymous credentials, indicating that the customer is not attempting to authenticate themselves.
    • sanitizeCredentials

      public static AwsCredentialsIdentity sanitizeCredentials(AwsCredentialsIdentity credentials)
      Sanitize given credentials by trimming whitespace