goliothctl apikeys create
Create an API key that can be used to connect to the Golioth REST API.
goliothctl apikeys create [flags]
Examples
# Create an API KEY
> golioth apikeys create
id:"5df88b8e-e208-41d4-b7e2-29192ab5de83" key:"dLEtQLItz9eSHZYwuZGE5UlcgL2GOmHW" type:API_KEY
# Create Keys with tag(s)
> golioth apikeys create --keyTag ktag-1
> golioth apikeys create --keyTag ktag-1 --keyTag ktag-2
Options
-h, --help help for create
--keyTag stringArray optionally assign one or more tags to the key being created
-t, --type string api key type (default "API_KEY")
Options inherited from parent commands
--apiUrl string golioth api server url (default "https://api.golioth.io")
-c, --config string config file (default is $HOME/.golioth/.goliothctl.yaml)
--projectId string golioth project id
SEE ALSO
- goliothctl apikeys - Access API Keys information.