Added an alternative way to provide AWS credentials