2011-10-03 18:25:44 +00:00
|
|
|
.TH "RADOSGW-ADMIN" "8" "September 22, 2011" "dev" "Ceph"
|
2009-10-28 18:51:46 +00:00
|
|
|
.SH NAME
|
2011-10-03 18:25:44 +00:00
|
|
|
radosgw-admin \- rados REST gateway user administration utility
|
2011-09-09 23:25:14 +00:00
|
|
|
.
|
|
|
|
.nr rst2man-indent-level 0
|
|
|
|
.
|
|
|
|
.de1 rstReportMargin
|
|
|
|
\\$1 \\n[an-margin]
|
|
|
|
level \\n[rst2man-indent-level]
|
|
|
|
level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
|
|
|
-
|
|
|
|
\\n[rst2man-indent0]
|
|
|
|
\\n[rst2man-indent1]
|
|
|
|
\\n[rst2man-indent2]
|
|
|
|
..
|
|
|
|
.de1 INDENT
|
|
|
|
.\" .rstReportMargin pre:
|
|
|
|
. RS \\$1
|
|
|
|
. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
|
|
|
|
. nr rst2man-indent-level +1
|
|
|
|
.\" .rstReportMargin post:
|
|
|
|
..
|
|
|
|
.de UNINDENT
|
|
|
|
. RE
|
|
|
|
.\" indent \\n[an-margin]
|
|
|
|
.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
|
|
|
.nr rst2man-indent-level -1
|
|
|
|
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
|
|
|
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
|
|
|
|
..
|
|
|
|
.\" Man page generated from reStructeredText.
|
|
|
|
.
|
2009-10-28 18:51:46 +00:00
|
|
|
.SH SYNOPSIS
|
2011-09-09 23:25:14 +00:00
|
|
|
.nf
|
2011-10-03 18:25:44 +00:00
|
|
|
\fBradosgw-admin\fP \fIcommand\fP [ \fIoptions\fP \fI...\fP ]
|
2011-09-09 23:25:14 +00:00
|
|
|
.fi
|
|
|
|
.sp
|
2009-10-28 18:51:46 +00:00
|
|
|
.SH DESCRIPTION
|
2011-09-09 23:25:14 +00:00
|
|
|
.sp
|
2011-10-03 18:25:44 +00:00
|
|
|
\fBradosgw-admin\fP is a RADOS gateway user administration utility. It
|
2011-09-09 23:25:14 +00:00
|
|
|
allows creating and modifying users.
|
2011-04-18 00:40:46 +00:00
|
|
|
.SH COMMANDS
|
2011-09-09 23:25:14 +00:00
|
|
|
.sp
|
|
|
|
\fIcommand\fP can be one of the following options:
|
|
|
|
.INDENT 0.0
|
2011-04-18 00:40:46 +00:00
|
|
|
.TP
|
2011-09-09 23:25:14 +00:00
|
|
|
.B \fBuser create\fP
|
|
|
|
Create a new user
|
|
|
|
.TP
|
|
|
|
.B \fBuser modify\fP
|
|
|
|
Modify a user
|
|
|
|
.TP
|
|
|
|
.B \fBuser info\fP
|
|
|
|
Display information of a user
|
|
|
|
.TP
|
|
|
|
.B \fBuser rm\fP
|
|
|
|
Remove a user
|
|
|
|
.TP
|
|
|
|
.B \fBbucket list\fP
|
|
|
|
List all buckets
|
|
|
|
.TP
|
|
|
|
.B \fBbucket unlink\fP
|
|
|
|
Remove a bucket
|
|
|
|
.TP
|
|
|
|
.B \fBpolicy\fP
|
|
|
|
Display bucket/object policy
|
|
|
|
.TP
|
|
|
|
.B \fBlog show\fP
|
|
|
|
Show the log of a bucket (with a specified date)
|
|
|
|
.UNINDENT
|
2009-10-28 18:51:46 +00:00
|
|
|
.SH OPTIONS
|
2011-09-09 23:25:14 +00:00
|
|
|
.INDENT 0.0
|
2009-10-28 18:51:46 +00:00
|
|
|
.TP
|
2011-09-09 23:25:14 +00:00
|
|
|
.B \-c ceph.conf, \-\-conf=ceph.conf
|
|
|
|
Use \fIceph.conf\fP configuration file instead of the default
|
|
|
|
\fB/etc/ceph/ceph.conf\fP to determine monitor addresses during
|
|
|
|
startup.
|
|
|
|
.UNINDENT
|
|
|
|
.INDENT 0.0
|
2009-10-28 18:51:46 +00:00
|
|
|
.TP
|
2011-09-09 23:25:14 +00:00
|
|
|
.B \-m monaddress[:port]
|
|
|
|
Connect to specified monitor (instead of looking through ceph.conf).
|
|
|
|
.UNINDENT
|
|
|
|
.INDENT 0.0
|
2009-10-28 18:51:46 +00:00
|
|
|
.TP
|
2011-09-09 23:25:14 +00:00
|
|
|
.B \-\-uid=uid
|
2011-04-18 00:40:46 +00:00
|
|
|
The S3 user/access key.
|
2011-09-09 23:25:14 +00:00
|
|
|
.UNINDENT
|
|
|
|
.INDENT 0.0
|
2009-10-28 18:51:46 +00:00
|
|
|
.TP
|
2011-09-09 23:25:14 +00:00
|
|
|
.B \-\-secret=secret
|
2011-04-18 00:40:46 +00:00
|
|
|
The S3 secret.
|
2011-09-09 23:25:14 +00:00
|
|
|
.UNINDENT
|
|
|
|
.INDENT 0.0
|
2009-10-28 18:51:46 +00:00
|
|
|
.TP
|
2011-09-09 23:25:14 +00:00
|
|
|
.B \-\-display\-name=name
|
2009-10-28 18:51:46 +00:00
|
|
|
Configure the display name of the user.
|
2011-09-09 23:25:14 +00:00
|
|
|
.UNINDENT
|
|
|
|
.INDENT 0.0
|
2009-10-28 18:51:46 +00:00
|
|
|
.TP
|
2011-09-09 23:25:14 +00:00
|
|
|
.B \-\-email=email
|
|
|
|
The e\-mail address of the user
|
|
|
|
.UNINDENT
|
|
|
|
.INDENT 0.0
|
2011-04-18 00:40:46 +00:00
|
|
|
.TP
|
2011-09-09 23:25:14 +00:00
|
|
|
.B \-\-bucket=bucket
|
2009-10-28 18:51:46 +00:00
|
|
|
Specify the bucket name.
|
2011-09-09 23:25:14 +00:00
|
|
|
.UNINDENT
|
|
|
|
.INDENT 0.0
|
2009-10-28 18:51:46 +00:00
|
|
|
.TP
|
2011-09-09 23:25:14 +00:00
|
|
|
.B \-\-object=object
|
2009-10-28 18:51:46 +00:00
|
|
|
Specify the object name.
|
2011-09-09 23:25:14 +00:00
|
|
|
.UNINDENT
|
|
|
|
.INDENT 0.0
|
2011-04-18 00:40:46 +00:00
|
|
|
.TP
|
2011-09-09 23:25:14 +00:00
|
|
|
.B \-\-date=yyyy\-mm\-dd
|
2011-04-18 00:40:46 +00:00
|
|
|
The date need for some commands
|
2011-09-09 23:25:14 +00:00
|
|
|
.UNINDENT
|
|
|
|
.INDENT 0.0
|
2011-04-18 00:40:46 +00:00
|
|
|
.TP
|
2011-09-09 23:25:14 +00:00
|
|
|
.B \-\-os\-user=group:name
|
2011-04-18 00:40:46 +00:00
|
|
|
The OpenStack user (only needed for use with OpenStack)
|
2011-09-09 23:25:14 +00:00
|
|
|
.UNINDENT
|
|
|
|
.INDENT 0.0
|
2011-04-18 00:40:46 +00:00
|
|
|
.TP
|
2011-09-09 23:25:14 +00:00
|
|
|
.B \-\-os\-secret=key
|
2011-04-18 00:40:46 +00:00
|
|
|
The OpenStack key
|
2011-09-09 23:25:14 +00:00
|
|
|
.UNINDENT
|
|
|
|
.INDENT 0.0
|
2011-04-18 00:40:46 +00:00
|
|
|
.TP
|
2011-09-09 23:25:14 +00:00
|
|
|
.B \-\-auth\-uid=auid
|
2011-04-18 00:40:46 +00:00
|
|
|
The librados auid
|
2011-09-09 23:25:14 +00:00
|
|
|
.UNINDENT
|
2009-10-28 18:51:46 +00:00
|
|
|
.SH EXAMPLES
|
2011-09-09 23:25:14 +00:00
|
|
|
.sp
|
|
|
|
Generate a new user:
|
|
|
|
.sp
|
|
|
|
.nf
|
|
|
|
.ft C
|
2011-10-03 18:25:44 +00:00
|
|
|
$ radosgw-admin user gen \-\-display\-name="johnny rotten" \-\-email=johnny@rotten.com
|
2011-09-09 23:25:14 +00:00
|
|
|
User ID: CHBQFRTG26I8DGJDGQLW
|
|
|
|
Secret Key: QR6cI/31N+J0VKVgHSpEGVSfEEsmf6PyXG040KCB
|
|
|
|
Display Name: johnny rotten
|
|
|
|
.ft P
|
|
|
|
.fi
|
|
|
|
.sp
|
|
|
|
Remove a user:
|
|
|
|
.sp
|
|
|
|
.nf
|
|
|
|
.ft C
|
2011-10-03 18:25:44 +00:00
|
|
|
$ radosgw-admin user rm \-\-uid=CHBQFRTG26I8DGJDGQLW
|
2011-09-09 23:25:14 +00:00
|
|
|
.ft P
|
|
|
|
.fi
|
|
|
|
.sp
|
|
|
|
Remove a bucket:
|
|
|
|
.sp
|
|
|
|
.nf
|
|
|
|
.ft C
|
2011-10-03 18:25:44 +00:00
|
|
|
$ radosgw-admin bucket unlink \-\-bucket=foo
|
2011-09-09 23:25:14 +00:00
|
|
|
.ft P
|
|
|
|
.fi
|
|
|
|
.sp
|
|
|
|
Show the logs of a bucket from April 1st 2011:
|
|
|
|
.sp
|
|
|
|
.nf
|
|
|
|
.ft C
|
2011-10-03 18:25:44 +00:00
|
|
|
$ radosgw-admin log show \-\-bucket=foo \-\-date=2011=04\-01
|
2011-09-09 23:25:14 +00:00
|
|
|
.ft P
|
|
|
|
.fi
|
2009-10-28 18:51:46 +00:00
|
|
|
.SH AVAILABILITY
|
2011-09-09 23:25:14 +00:00
|
|
|
.sp
|
2011-10-03 18:25:44 +00:00
|
|
|
\fBradosgw-admin\fP is part of the Ceph distributed file system. Please
|
2011-09-09 23:25:14 +00:00
|
|
|
refer to the Ceph wiki at \fI\%http://ceph.newdream.net/wiki\fP for more
|
|
|
|
information.
|
2009-10-28 18:51:46 +00:00
|
|
|
.SH SEE ALSO
|
2011-09-09 23:25:14 +00:00
|
|
|
.sp
|
|
|
|
\fBceph\fP(8)
|
|
|
|
.SH COPYRIGHT
|
|
|
|
2011, New Dream Network
|
|
|
|
.\" Generated by docutils manpage writer.
|
|
|
|
.\"
|
|
|
|
.
|