greymatterCLI is a configuration tool for the Grey Matter control plane. Runtime configuration changes can be made with the CLI.
gmenv, a manager for installing and setting different
gmenvbecause it allows for easier versioning against different Grey Matter environments.
$PATHany way you like
Note: If you haven't used
gmenvbefore, you will be prompted for your Grey Matter LDAP username and password.
gmenv install <version>. This will download and install the latest version of the
gmenvto use the newly downloaded version of the Grey Matter CLI
curl. Before executing, replace
-u [email protected]with your username, and make sure the desired artifact is specified.
greymatteris distributed as a precompiled binary. The installation requires two steps:
greymatterbinary onto your system's
greymatterCLI, you'll need to set the necessary environment variables or command line flags so that you can talk to a deployed Grey Matter API. As each deployment is different, the specific endpoint and security context will be different, so make sure to verify your settings against the deployed environment.
--configflag; if unspecified, Grey Matter CLI will search a user's home directory for a file with a name prefixed with
~/.greymatter.yml, etc). The schema of the same configuration shown in the environment variable section above will look like:
greymatter list zone \with the following keys and certs to connect to the Grey Matter Control API.
Zoneindicates that the connection was successful, and you've been able to inspect the Fabric Mesh.