Search
Varnish Controller

vcli privatetoken

Handle private tokens for components.

Synopsis

Handle private token related tasks. Private tokens can only be created and deleted, never updated. If a new token is required, generate a new token by adding a new private token.

WARNING: If a private token is deleted, components using this token will not be usable until they have been updated with a new token.

Examples:

vcli privatetoken inspect 1
vcli privatetoken list
vcli privatetoken add myName
vcli privatetoken delete 1

Options

  -h, --help   help for privatetoken

Options inherited from parent commands

  -c, --config string   configuration file for the CLI (default ~/.vcli.yml)
                        Could also be set via VARNISH_CONTROLLER_CLI_CONFIG=/path/to/config.yml
      --csv             Output the response table as CSV format.
  -j, --json            Output the response table as JSON format.

SEE ALSO