AWS IAM Role support

This change makes the plugin work with IAM role but it'd probably be a good idea to test 'authentication'.