Hi Diego, 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 [1].
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. [1] For example, http://docs.basho.com/riak/latest/dev/using/basics/ Riak S2/CS does not use bucket types. [2] https://github.com/basho/riak_cs/issues/1074#issuecomment-111110461 Thanks, Shino 2016-01-15 21:32 GMT+09:00 buahho <bua...@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 > installed. > > 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@lists.basho.com > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com _______________________________________________ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com