It would be nice to have a swift example (I am trying to figure it out at the moment). For example I think in our installation we don't have https access and also we need to use ec2 keys and signatures...how do we do this?