secret = config.getStr("simianarmy.client.aws.secretKey");
region = config.getStrOrElse("simianarmy.client.aws.region", "us-east-1");
assumeRoleArn = config.getStr("simianarmy.client.aws.assumeRoleArn");
if (assumeRoleArn != null) {
this.awsCredentialsProvider = new STSAssumeRoleSessionCredentialsProvider(assumeRoleArn);
}
// if credentials are set explicitly make them available to the AWS SDK
if (StringUtils.isNotBlank(account) && StringUtils.isNotBlank(secret)) {
this.exportCredentials(account, secret);