code: private AWSCredentials getCredentials() {
          String awsProfile = getParamString("aws_profile");
          if (!Utils.isEmpty(awsProfile)) {
              m_logger.info("Using AWS profile: {}", awsProfile);
              ProfileCredentialsProvider credsProvider = null;
              String awsCredentialsFile = getParamString("aws_credentials_file");
              if (!Utils.isEmpty(awsCredentialsFile)) {
                  credsProvider = new ProfileCredentialsProvider(awsCredentialsFile, awsProfile);
              } else {
                  credsProvider = new ProfileCredentialsProvider(awsProfile);
              }
              return credsProvider.getCredentials();
          }
          
          String awsAccessKey = getParamString("aws_access_key");
          Utils.require(!Utils.isEmpty(awsAccessKey),
                        "Either 'aws_profile' or 'aws_access_key' must be defined for tenant: " + m_tenant.getName());
          String awsSecretKey = getParamString("aws_secret_key");
          Utils.require(!Utils.isEmpty(awsSecretKey),
                        "'aws_secret_key' must be defined when 'aws_access_key' is defined. " +
                        "'aws_profile' is preferred over aws_access_key/aws_secret_key. Tenant: " + m_tenant.getName());
          return new BasicAWSCredentials(awsAccessKey, awsSecretKey);
      }
docs: Set the AWS credentials in m_ddbClient