Disable 'raise' if 'access_key' and 'secret_key' is not a string. This works for AWS IAM Roles.