Interface Credentials


public interface Credentials
  • Method Details

    • defaultCredentials

      static Credentials defaultCredentials()
      The default credentials.
      See Also:
    • basic

      static Credentials basic(String accessKeyId, String secretAccessKey)
      Basic credentials with the specified access key id and secret access key.
      Parameters:
      accessKeyId - the access key id, used to identify the user
      secretAccessKey - the secret access key, used to authenticate the user
    • anonymous

      static Credentials anonymous()
      Anonymous credentials. This is useful when the S3 policy has been set to allow anonymous access.