mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-10-31 18:48:08 +00:00
API Lock CLI OSS port (#12925)
* api lock in oss * add namespace lock/unlock help
This commit is contained in:
@@ -339,6 +339,16 @@ func initCommands(ui, serverCmdUi cli.Ui, runOpts *RunOptions) {
|
||||
BaseCommand: getBaseCommand(),
|
||||
}, nil
|
||||
},
|
||||
"namespace lock": func() (cli.Command, error) {
|
||||
return &NamespaceAPILockCommand{
|
||||
BaseCommand: getBaseCommand(),
|
||||
}, nil
|
||||
},
|
||||
"namespace unlock": func() (cli.Command, error) {
|
||||
return &NamespaceAPIUnlockCommand{
|
||||
BaseCommand: getBaseCommand(),
|
||||
}, nil
|
||||
},
|
||||
"operator": func() (cli.Command, error) {
|
||||
return &OperatorCommand{
|
||||
BaseCommand: getBaseCommand(),
|
||||
|
||||
Reference in New Issue
Block a user