If you don't provide at least fake credentials, you will get:
Caused by: com.amazonaws.SdkClientException: Unable to load AWS credentials from any provider in the chain: [EnvironmentVariableCredentialsProvider: Unable to load AWS credentials from environment variables (AWS_ACCESS_KEY_ID (or AWS_ACCESS_KEY) and AWS_SECRET_KEY (or AWS_SECRET_ACCESS_KEY)), SystemPropertiesCredentialsProvider: Unable to load AWS credentials from Java system properties (aws.accessKeyId and aws.secretKey), WebIdentityTokenCredentialsProvider: You must specify a value for roleArn and roleSessionName, com.amazonaws.auth.profile.ProfileCredentialsProvider@78bd02c8: profile file cannot be null, com.amazonaws.auth.EC2ContainerCredentialsProviderWrapper@2c15034f: Failed to connect to service endpoint: ]
If you don't provide at least fake credentials, you will get:
so we should make credentials mandatory