From 753207c3f2a57e661b0ebf9dba5192b7c97edf75 Mon Sep 17 00:00:00 2001 From: Florian Haas Date: Mon, 11 Jun 2012 23:49:11 +0200 Subject: [PATCH] doc: update examples in radosgw-admin man page * "user gen" is gone and is now "user create" * --uid option is mandatory for "user create" Mailing list thread: http://www.spinics.net/lists/ceph-devel/msg06744.html Signed-off-by: Florian Haas --- doc/man/8/radosgw-admin.rst | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/doc/man/8/radosgw-admin.rst b/doc/man/8/radosgw-admin.rst index 39e96a2d52b..0a1ffe6c01b 100644 --- a/doc/man/8/radosgw-admin.rst +++ b/doc/man/8/radosgw-admin.rst @@ -106,14 +106,22 @@ Examples Generate a new user:: - $ radosgw-admin user gen --display-name="johnny rotten" --email=johnny@rotten.com - User ID: CHBQFRTG26I8DGJDGQLW - Secret Key: QR6cI/31N+J0VKVgHSpEGVSfEEsmf6PyXG040KCB - Display Name: johnny rotten + $ radosgw-admin user create --display-name="johnny rotten" --uid=johnny + { "user_id": "johnny", + "rados_uid": 0, + "display_name": "johnny rotten", + "email": "", + "suspended": 0, + "subusers": [], + "keys": [ + { "user": "johnny", + "access_key": "TCICW53D9BQ2VGC46I44", + "secret_key": "tfm9aHMI8X76L3UdgE+ZQaJag1vJQmE6HDb5Lbrz"}], + "swift_keys": []} Remove a user:: - $ radosgw-admin user rm --uid=CHBQFRTG26I8DGJDGQLW + $ radosgw-admin user rm --uid=johnny Remove a bucket::