We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
user apikey create
1 parent 976548b commit 461ac11Copy full SHA for 461ac11
cmd/auth/key/create.go
@@ -30,6 +30,7 @@ var createCmd = &cobra.Command{
30
PreRunE: cobra.MaximumNArgs(0),
31
RunE: func(cmd *cobra.Command, args []string) error {
32
res, err := userauthapi.CreateKey(userauthapi.CreateKeyParams{
33
+ API: ecctl.Get().API,
34
Description: cmd.Flag("description").Value.String(),
35
})
36
if err != nil {
go.mod
@@ -4,7 +4,7 @@ go 1.13
4
5
require (
6
github.com/asaskevich/govalidator v0.0.0-20210307081110-f21760c49a8d
7
- github.com/elastic/cloud-sdk-go v1.7.0
+ github.com/elastic/cloud-sdk-go v1.7.1-0.20220114092459-af5391db2912
8
github.com/go-openapi/runtime v0.21.0
9
github.com/go-openapi/strfmt v0.21.1
10
github.com/pkg/errors v0.9.1
0 commit comments