Added IAM role support

added support for IAM profile, if the credentials are not specified it will use roles.