Skip to main content
Version: 1.1

wf create robot-token

wf create robot-token

Creates a robot token to use to access Wayfinder or workspace clusters

Synopsis

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

wf create robot-token [flags]

Examples


# Create a robot token for a robot
$ wf create robot-token <robot>

# Create a robot token and generate a wayfinder config
$ wf create robot-token <robot> --show-config

# Regenerate the token for an existing robot
$ wf create robot-token <robot> --regenerate

You can test the above via
WAYFINDER_CONFIG=<path> wf [commands]

Options

  -h, --help              help for robot-token
--non-interactive Do not prompt for user input
--show-config Write out a wayfinder configuration file with robot
--show-token Show only the raw token

Options inherited from parent commands

      --debug              Indicates we should use debug / trace logging (default: false)
--force Used to force an operation to happen (default: false)
--no-wait Indicates we should not wait for resources to provision
-o, --output string Output format of the resource (json,yaml,table,template) (default "table")
--profile string Use a profile other than your default for this command
--show-headers Indicates we should display headers on table out (default true)
--verbose Enables verbose logging for debugging purposes (default: false)
-w, --workspace string The workspace you are operating within

SEE ALSO