Version: 0.7

kore create robot

kore create robot#

Creates a robot token use to access kore or team clusters

Synopsis#

Used to create robot tokens to permit service account access to managed resources (api, clusters). Robot tokens in Kore are exchanged for ephemeral access tokens with short-lived lifecycles.

Note, robot tokens alone have no permissions, in order to grant access see

$ kore assign plan --help

kore create robot [flags]

Examples#

# You can create a robot account
$ kore create robot <name>
# Create a robot token and generate a kore config
$ kore create robot <name> [options] --show-config -d "My deployment token"
# Regenerate and replace current robot token
$ kore create robot-token <name>
# You can assign permissions to robot accounts via the assign command
$ kore assign plan --help
# View all policies assigned to the robot
$ kore get policy --robot
You can test the above via
KORE_CONFIG=<path> kore [commands]

Options#

-d, --description string summary of the robot account usage
--dry-run render the resource to screen rather than implement
-h, --help help for robot
--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#