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.
For an exhaustive list of mesheryctl
commands and syntax:
Guides to using Mesheryโs various features and components.
Recent Discussions with "mesheryctl" Tag
- Apr 30 | [Development Meeting] Contributing to Meshery CLI - April 30, 2025
- Apr 30 | Meshery Development Meeting | April 30th, 2025
- Apr 17 | [Newcomersโ Meeting] End-to-End Testing in Meshery CLI using BATs โ April 17, 2025
- Mar 28 | unable to lint mesheryctl
- Feb 19 | Mesheryctl system login problem
- Feb 06 | Error while launching the Meshery Dashboard
- Dec 16 | Can't find the file path for meshery designs
- Oct 31 | `pattern import` - Access to this resource is unauthorized
- Oct 24 | `mesheryctl adapter validate` "Error: required flag(s) "spec" not set"
- Oct 09 | I created an environment but it cannot be listed
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.