Getting Started

VGS CLI is a developer tool that helps you build, test, and manage your configurations in VGS from a terminal. It enables programmatic usage of VGS APIs in code or as a part of CI/CD pipelines.

Install

VGS CLI can be installed from PyPIarrow-up-right or be used in Dockerarrow-up-right. For Docker usage check our Docker page.

PyPI

This option requires Python 3arrow-up-right to be installed. To install the latest VGS CLI from PyPIarrow-up-right:

Run

Verify your installation by running:

Quick Start

Step 1: Login with VGS account

After installing the CLI, you must login with your VGS account. This will prompt you to launch your browser and login to grant the CLI access to your account. You may be asked for permission to access your OS key management system (Mac OS Keychain, Linux Secret Service, Windows Credential Vault). VGS CLI uses it for the secure storage of keys used for encryption of your access tokens.

Step 2: Run your first command

You're now ready to use the CLI. Try to get your route configuration with the following command:

This command will get your route configurations in YAML format.

Next Steps

Check what else you can do. Use these guides or explore the CLI with vgs --help command.

Last updated