Handle shared tokens for components.
Handle Shared Token related tasks. Shared tokens can only be created and deleted, never updated. If a new token is required, generate a new token by adding a new shared token.
A shared token is used to share components (agents/routers) between organizations without sharing the actual private-token. Multiple organizations can use the same shared token. The shared token must be given to the organizations that should be able to use the components.
WARNING: If you own a token and delete it, all users of that token will no longer have access to the components related to the deleted token.
Examples:
vcli sharedtoken inspect 1
vcli sharedtoken list
vcli sharedtoken add myName 2
vcli sharedtoken delete 1
-h, --help help for sharedtoken
-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.