Skip to content

Commit 2280cc2

Browse files
committed
reference: update goliothctl for current state of APIKEY
Update the `goliothctl` reference page to show only the basic APIKEY type type that is currently supported by Golioth. Signed-off-by: Mike Szczys <mike@golioth.io>
1 parent 52feb3e commit 2280cc2

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

docs/reference/4-command-line-tools/1-goliothctl/goliothctl_apikeys_create.md

+2-7
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ hide_title: true
88
---
99
## goliothctl apikeys create
1010

11-
Create an API key or JSON Web Token (JWT) that can be used to connect to the Golioth REST API.
11+
Create an API key that can be used to connect to the Golioth REST API.
1212

1313

1414

@@ -23,22 +23,17 @@ goliothctl apikeys create [flags]
2323
> golioth apikeys create
2424
id:"5df88b8e-e208-41d4-b7e2-29192ab5de83" key:"dLEtQLItz9eSHZYwuZGE5UlcgL2GOmHW" type:API_KEY
2525
26-
# Create JWT
27-
> golioth apikeys create --type JWT_KEY
28-
id:"fe71a35c-0cb9-4643-9761-e95c332c2b1c" key:"LQBgNB0LldJ4tyIDDzQd4tY7G060o8bV" type:JWT_KEY secret:"BpYxx835pZ1A8KUpfhWMNiGd1V0e0JB7"
29-
3026
# Create Keys with tag(s)
3127
> golioth apikeys create --keyTag ktag-1
3228
> golioth apikeys create --keyTag ktag-1 --keyTag ktag-2
33-
> golioth apikeys create --type JWT_KEY --keyTag ktag-1 --keyTag ktag-2
3429
```
3530

3631
### Options
3732

3833
```
3934
-h, --help help for create
4035
--keyTag stringArray optionally assign one or more tags to the key being created
41-
-t, --type string api key type [API_KEY JWT_KEY] (default "API_KEY")
36+
-t, --type string api key type (default "API_KEY")
4237
4338
```
4439

0 commit comments

Comments
 (0)