extra input validation for AWS credentials