Authenticating with Meshery via CLI
To authenticate with Meshery through mesheryctl
you will use the command mesheryctl system login
. Upon execution of this command, select your Provider of choice, then authenticate to your chosen Provider.
Get your Token
You can retrieve your authentication token from either of Mesheryβs two clients: the CLI or the UI.
-
Get your token through Meshery UI, from the
Get Token
option.Downloading the token
-
Get your token through Meshery CLI.
To get the token throughmesheryctl
you would have to use the following command and the path to token for authenticating to Meshery API (default βauth.jsonβ).mesheryctl system login
The need for authentication to Meshery
provider is to save your environment setup while also having persistent/steady sessions and to be able to retrieve performance test results.
Suggested Reading
For an exhaustive list of mesheryctl
commands and syntax:
Guides to using Mesheryβs various features and components.
Suggested Reading
- Configuring Autocompletion for `mesheryctl` - Bash, Zsh, Oh My Zsh, and fish autocompletion for `mesheryctl` commands.
- Running system checks using Meshery CLI - Run pre-flight and post-deployment system health checks using Meshery's CLI, mesheryctl.
- Mesheryctl system commands - Mesheryctl system commands for managing Meshery deployments.
- Using Meshery CLI - Guides for common tasks while using Meshery's CLI, mesheryctl.
Recent Discussions with "mesheryctl" Tag
- Mar 20 | Not able to access Ports during mesheryctl system start
- Mar 05 | Tip: Series of commands to generate Meshery's model registry
- Feb 27 | Error while connecting minikube on meshery
- Nov 17 | Error while installing kubernetes
- Dec 12 | What port does mesheryctl work on generally?
- Dec 04 | Docker compose not available issue while running mesheryctl system start command
- Sep 05 | While Setting Environment for Meshery, Facing issue
- Aug 18 | Invalid Component Error while starting meshery system
- Aug 17 | Mesheryctl is not updating on the latest macOS Sonoma beta. Homebrew is giving me some error. Please help
- Aug 09 | New Performance features in mesheryctl
Suggested Reading
- Configuring Autocompletion for `mesheryctl` - Bash, Zsh, Oh My Zsh, and fish autocompletion for `mesheryctl` commands.
- Running system checks using Meshery CLI - Run pre-flight and post-deployment system health checks using Meshery's CLI, mesheryctl.
- Mesheryctl system commands - Mesheryctl system commands for managing Meshery deployments.
- Using Meshery CLI - Guides for common tasks while using Meshery's CLI, mesheryctl.