mesheryctl system token create
Create a token in your meshconfig
Synopsis
Create the token with provided token name (optionally token path) to your meshconfig tokens. The token name must not be empty or contain only whitespace, and it is stored exactly as typed, so surrounding spaces become part of the name.
mesheryctl system token create <token-name> [flags]
Examples
mesheryctl system token create my-token -f [token-path]
mesheryctl system token create my-token (default path is auth.json)
mesheryctl system token create my-token -f [token-path] --set
Options
-f, --filepath string Add the token location -h, --help help for create -s, --set Set as current token
Options inherited from parent commands
--config string path to config file (default "~/.meshery/config.yaml") -c, --context string (optional) temporarily change the current context. -v, --verbose verbose output -y, --yes (optional) assume yes for user interactive prompts.
See Also
Go back to command reference index, if you want to add content manually to the CLI documentation, please refer to the instruction for guidance.