change keys after user admin created
shino at basho.com
Mon Jan 18 02:41:12 EST 2016
Sorry for late reply. It's difficult or rather tricky to modify the key
of existing user.
If your requirement can be fulfilled by getting the user from existing
cluster and putting it to newly created cluster, it's easier.
In Riak KV sense (NOT Riak S2/CS sense), CS user is an Riak KV object
under the bucket "moss.user", its key is user key. Get and Put of KV
objects can be done as described in KV doc .
Another way is to create user in newly created cluster by specifying
key and secret in the existing user. This process has one downside,
canonical ID is dynamically generated and will be different in two
clusters. If you don't use canonical ID in any operation, it will work
but otherwise not.
 For example, http://docs.basho.com/riak/latest/dev/using/basics/
Riak S2/CS does not use bucket types.
2016-01-15 21:32 GMT+09:00 buahho <buahho at gmail.com>:
> Hi everyone,
> I'm using riak-cs in a distributed cluster and i'm trying to clone the
> cluster to another that needs to be identical. The case is that I need to
> put the same key to the user admin in the cloned cluster after riak has been
> So, my question is very simple: is there a way to modify the key of the user
> admin after is created?
> Thanks at all!!
> Diego Martínez.
> View this message in context: http://riak-users.197444.n3.nabble.com/change-keys-after-user-admin-created-tp4033901.html
> Sent from the Riak Users mailing list archive at Nabble.com.
> riak-users mailing list
> riak-users at lists.basho.com
More information about the riak-users