Version: 0.7

kore create robot-token

kore create robot-token#

Creates a robot token use to access kore or team clusters

Synopsis#

Used to create or regenerate robot tokens to permit service account access to managed resources (api, clusters).

kore create robot-token [flags]

Examples#

# You can create a robot token for a robot account
$ kore create robot-token <robot>
# Create a robot token and generate a kore config
$ kore create robot-token <robot> --show-config
# Regenerate the token for an existing robot account
$ kore create robot-token <robot> --regenerate
You can test the above via
KORE_CONFIG=<path> kore [commands]

Options#

-h, --help help for robot-token
--non-interactive indicates we do not prompt for user input
--show-config indicates we should write out a kore configuration file with robot account
--show-token indicates we show only the raw token

Options inherited from parent commands#

--debug indicates we should use debug / trace logging (defaults: false)
--force is used to force an operation to happen (defaults: false)
--no-wait indicates if we should wait for resources to provision
-o, --output string the output format of the resource (json,yaml,table,template) (default "table")
--profile string allows you to explicitly set the selected profile
--show-headers indicates we should display headers on table out (default true)
-t, --team string the team you are operating within
--verbose enables verbose logging for debugging purposes (defaults: false)

SEE ALSO#