mirror of
https://github.com/ceph/ceph
synced 2025-01-29 14:34:40 +00:00
MonCommands.h: auth add doesn't require caps (it can use -i <file>)
This was a regression from the old behavior introduced by the CLI rewrite. Fixes: #5467 Signed-off-by: Dan Mick <dan.mick@inktank.com> Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
This commit is contained in:
parent
71f3e56d4b
commit
bfed2d60a5
@ -140,7 +140,7 @@ COMMAND("auth list", "list authentication state")
|
||||
COMMAND("auth import", "auth import: read keyring file from input")
|
||||
COMMAND("auth add " \
|
||||
"name=entity,type=CephString " \
|
||||
"name=caps,type=CephString,n=N", \
|
||||
"name=caps,type=CephString,n=N,req=false", \
|
||||
"add auth info for <entity> from input file, or random key if no input given, and/or any caps specified in the command")
|
||||
COMMAND("auth get-or-create-key " \
|
||||
"name=entity,type=CephString " \
|
||||
|
Loading…
Reference in New Issue
Block a user