Add ssh private key to CLI (#2265)

This commit is contained in:
Jeff Mitchell authored and GitHub committed 2022-07-19 16:58:03 -04:00
1 parent ef5ac07f02
commit 271cc8f781
13 files changed
+492 -28

No files matched your search

+12
View File
@@ -472,6 +472,12 @@ func initCommands(ui, serverCmdUi cli.Ui, runOpts *RunOptions) {
Func: "create",
}, nil
},
"credentials create ssh-private-key": func() (cli.Command, error) {
return &credentialscmd.SshPrivateKeyCommand{
Command: base.NewCommand(ui),
Func: "create",
}, nil
},
"credentials update": func() (cli.Command, error) {
return &credentialscmd.Command{
Command: base.NewCommand(ui),
@@ -484,6 +490,12 @@ func initCommands(ui, serverCmdUi cli.Ui, runOpts *RunOptions) {
Func: "update",
}, nil
},
"credentials update ssh-private-key": func() (cli.Command, error) {
return &credentialscmd.SshPrivateKeyCommand{
Command: base.NewCommand(ui),
Func: "update",
}, nil
},
"groups": func() (cli.Command, error) {
return &groupscmd.Command{