summaryrefslogtreecommitdiffstats
path: root/src/bash_completion
diff options
context:
space:
mode:
authorJiffin Tony Thottan <thottanjiffin@gmail.com>2024-09-06 10:42:12 +0200
committerJiffin Tony Thottan <thottanjiffin@gmail.com>2024-11-14 15:59:33 +0100
commit05e207fa774c16212bb02d0cb6c89bd821167003 (patch)
treee0f838c57c677f4cb1d2cc31499ce9cdb4964d0c /src/bash_completion
parentMerge pull request #56597 from liangmingyuanneo/optimize-reshard (diff)
downloadceph-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 'src/bash_completion')
-rw-r--r--src/bash_completion/radosgw-admin2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bash_completion/radosgw-admin b/src/bash_completion/radosgw-admin
index 023a83f87e4..d9e36d8ef29 100644
--- a/src/bash_completion/radosgw-admin
+++ b/src/bash_completion/radosgw-admin
@@ -19,7 +19,7 @@ _radosgw_admin()
if [[ ${cur} == -* ]] ; then
COMPREPLY=( $(compgen -W "--uid --subuser --access-key --os-user --email --auth_uid --secret --os-secret --gen-access-key --gen-secret \
- --access --display-name --bucket --object --date --conf --name --id --version -s -w" -- ${cur}) )
+ --access --display-name --bucket --object --date --conf --name --id --version -s -w --generate-key" -- ${cur}) )
return 0
fi