diff options
author | Jiffin Tony Thottan <thottanjiffin@gmail.com> | 2024-09-06 10:42:12 +0200 |
---|---|---|
committer | Jiffin Tony Thottan <thottanjiffin@gmail.com> | 2024-11-14 15:59:33 +0100 |
commit | 05e207fa774c16212bb02d0cb6c89bd821167003 (patch) | |
tree | e0f838c57c677f4cb1d2cc31499ce9cdb4964d0c /doc | |
parent | Merge pull request #56597 from liangmingyuanneo/optimize-reshard (diff) | |
download | ceph-05e207fa774c16212bb02d0cb6c89bd821167003.tar.xz ceph-05e207fa774c16212bb02d0cb6c89bd821167003.zip |
radosgw-admin: create user without credentials via cli
Add option `generate-key` to create user without credentials.
Signed-off-by: Jiffin Tony Thottan <thottanjiffin@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/man/8/radosgw-admin.rst | 7 | ||||
-rw-r--r-- | doc/radosgw/admin.rst | 1 |
2 files changed, 8 insertions, 0 deletions
diff --git a/doc/man/8/radosgw-admin.rst b/doc/man/8/radosgw-admin.rst index 7dfa59a61b1..9ef13e0f783 100644 --- a/doc/man/8/radosgw-admin.rst +++ b/doc/man/8/radosgw-admin.rst @@ -548,6 +548,13 @@ Options Generate random secret key. +.. option:: --generate-key + + create user with or without credentials. + If this option set to false, then user cannot set --gen-access-key/--gen-secret/--secret-key/--access-key. + If this option set to true, then user cannot set --secret-key/--access-key and bypass options for --gen-secret/--gen-access-key. + Default is true. + .. option:: --key-type=<type> Key type, options are: swift, s3. diff --git a/doc/radosgw/admin.rst b/doc/radosgw/admin.rst index 7c7d9d6df14..8dbf8c10b04 100644 --- a/doc/radosgw/admin.rst +++ b/doc/radosgw/admin.rst @@ -262,6 +262,7 @@ include: - ``--secret-key=<key>`` manually specifies a S3 secret key or a Swift secret key. - ``--gen-access-key`` automatically generates a random S3 access key. - ``--gen-secret`` automatically generates a random S3 secret key or a random Swift secret key. +- ``--generate-key`` create user with or without credentials. If sets to false, then user cannot set ``gen-secret/gen-access-key/access-key/secret-key`` Adding S3 keys ~~~~~~~~~~~~~~ |