]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc: update examples in radosgw-admin man page 13/head
authorFlorian Haas <florian@hastexo.com>
Mon, 11 Jun 2012 21:49:11 +0000 (23:49 +0200)
committerFlorian Haas <florian@hastexo.com>
Mon, 11 Jun 2012 21:49:11 +0000 (23:49 +0200)
* "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 <florian@hastexo.com>
doc/man/8/radosgw-admin.rst

index 39e96a2d52b6eacf6f4e8d54b96bfc91d7fef2ad..0a1ffe6c01b66fd22fa0209d2753ee3473afe3e6 100644 (file)
@@ -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::