AWS EC2 API generates signatures to authenticate. This will generate one that is compatible even with Eucalyptus, OpenNebula & OpenStack.
John Tran
gem "ec2-signature", "~> 0.0.5"