Modified to allow use of EC2 instance profile

If credentials are not provided, the plugin will attempt to use an EC2
instance profile to authenticate to S3.