mirror of
https://github.com/ceph/ceph
synced 2025-01-01 08:32:24 +00:00
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 <florian@hastexo.com>
This commit is contained in:
parent
d265bb69fc
commit
753207c3f2
@ -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::
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user