Back to Meshery

mesheryctl system token create

docs/static/v0.6/reference/mesheryctl/system/token/create/index.html

1.0.18961 B
Original Source

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.

mesheryctl system token create [flags]

Examples

mesheryctl system token create [token-name] -f [token-path]
mesheryctl system token create [token-name] (default path is auth.json)
mesheryctl system token create [token-name] -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 "/home/runner/.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