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 config [aks|eks|gke|minikube] --token [path-to-file]
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.
Recent Discussions with "mesheryctl" Tag
- Dec 21 Facing an error in setting up meshery locally by gopi.vaibhav
- Dec 17 Error installing Meshery on Ubuntu 22.04 by Anita-ihuman
- Dec 07 Error deploying mesheryctl by Ebi
- Nov 08 Not able to choose an adapter an install mesheryctl command by Kamal.Singh
- Oct 06 Unable to setup meshery docs on local (mac) by Franklin.Ekoh
- Sep 27 Issue while setting up meshery using GItpod by Kamal.Singh
- Sep 03 How to run Mesheryctl locally in my system by Lee
- Jul 27 Mesheryctl app import: Design Spec Review by alphaX86
- Jul 27 Meshery Not Starting (mesheryctl) by harkiratsm
- Jul 06 Call for Feedback: Behavior changes in `mesheryctl mesh` by Lee