example for a sinatra app interface to riak-kv that adds ldap or cas authentication (through rubycas-client) in front of it
with defaults for bucket-type, index and bucket-name taken from the following mcollective registration module https://github.com/cerealcake/mcollective-riak-registration