Added IAM role support

Per issue #3532