6> {ok, PB} = riakc_pb_socket:start("127.0.0.1", 8087, [{credentials, "andrew", "foo"}]).
{ok,<0.59.0>}
7> riakc_pb_socket:get(PB, <<"hello">>, <<"world">>).
{error,<<"Permission riak_kv.get denied to user andrew on hello">>}
./rel/riak/bin/riak-admin security grant riak_kv.get ON default hello TO andrew
12> riakc_pb_socket:get(PB, <<"hello">>, <<"world">>).
{error,notfound}
13> riakc_pb_socket:put(PB, riakc_obj:new(<<"hello">>, <<"world">>, <<"howareyou">>)).
{error,<<"Permission riak_kv.put denied to user andrew on hello">>}
./rel/riak/bin/riak-admin security grant riak_kv.put ON default hello TO andrew
17> riakc_pb_socket:put(PB, riakc_obj:new(<<"hello">>, <<"world">>, <<"howareyou">>)).
ok
18> riakc_pb_socket:get(PB, <<"hello">>, <<"world">>).
{ok,{riakc_obj,<<"hello">>,<<"world">>,
<<107,206,97,96,96,96,204,96,202,5,82,28,202,156,255,126,
6,94,103,157,146,193,148,...>>,
[{{dict,2,16,16,8,80,48,
{[],[],[],[],[],[],[],[],[],[],[],[],...},
{{[],[],[],[],[],[],[],[],[],[],...}}},
<<"howareyou">>}],
undefined,undefined}}