Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

VGS CLI

Command Line Tool for programmatic configurations on VGS.

Official Documentation

Table of Contents

Requirements

Python 3.11 or newer with OpenSSL 1.1.1 or newer, or Docker.

Installation

PyPI

Install from PyPI:

python3 -m pip install vgs-cli

Run

Verify the installation:

vgs --version

Running in Docker

Check our official documentation.

AI agent skill

Install the agent skill:

npx skills add verygoodsecurity/vgs-cli --skill vgs-cli-guide

The guide covers Dashboard-assisted onboarding, the complete built-in command surface, controlled route and Collect Form changes, service-account automation, Docker, certificates, logs, and troubleshooting. Installation uses the Skills CLI.

Update the agent skill:

npx skills update vgs-cli-guide

Commands

Full command reference:

Tenant terminology

Use tenant and --tenant/-T in new commands. Legacy vault commands and --vault/-V options still work, but print a deprecation warning.

Authentication

Command Purpose
vgs --help List available commands.
vgs login Start an interactive session.
vgs logout End the current session.

Organizations and tenants

Command Purpose
vgs get organizations List accessible organizations.
vgs get tenants List all tenants visible to the authenticated identity.
vgs generate tenant > tenant.yaml Generate a tenant template.
vgs apply tenant -f tenant.yaml Create a tenant from a reviewed template.
vgs apply tenant -O <ORGANIZATION_ID> -f tenant.yaml Create a tenant when organizationId is omitted from the template.
vgs apply tenant-resources -T <TENANT_ID> -f resources.yaml --dry-run true Validate tenant resources without applying them.
vgs apply tenant-resources -T <TENANT_ID> -f resources.yaml Apply reviewed resources to a tenant.

vgs get tenants does not take an organization option. vgs apply tenant requires the organization ID either in tenant.yaml as data.organizationId or through -O/--organization; if both are present, they must match.

Organization notifications

Command Purpose
vgs get notification-providers List supported notification providers.
vgs get notifications -O <ORGANIZATION_ID> List notification integrations.
vgs get notification-events -O <ORGANIZATION_ID> <INTEGRATION_ID> List configured events for a notification integration.
vgs apply notification -O <ORGANIZATION_ID> -f notification.yaml Create or update a notification integration from a file.
vgs apply notification -O <ORGANIZATION_ID> --enable <INTEGRATION_ID> Enable a notification integration.
vgs apply notification -O <ORGANIZATION_ID> --disable <INTEGRATION_ID> Disable a notification integration.
vgs delete notification -O <ORGANIZATION_ID> <INTEGRATION_ID> Delete a notification integration.

Notification management requires an active organization, organization-admin access. The CLI masks generated webhook secrets in its output.

Routes

Command Purpose
vgs get routes -T <TENANT_ID> List tenant routes.
vgs apply routes -T <TENANT_ID> -f <FILE> Apply tenant routes.
vgs delete routes -T <TENANT_ID> <ROUTE_ID> Delete one tenant route.

Collect Forms

Command Purpose
vgs get forms -T <TENANT_ID> List Collect Forms.
vgs get form -T <TENANT_ID> <FORM_ID> Get one Collect Form.
vgs apply form -T <TENANT_ID> -f <FILE> Apply a Collect Form from a file.
vgs apply form -T <TENANT_ID> --json '<JSON>' Apply inline Collect Form JSON.
vgs delete form -T <TENANT_ID> <FORM_ID> Delete one Collect Form.

Access credentials and logs

Command Purpose
vgs get access-credentials -T <TENANT_ID> List tenant access credentials.
vgs generate access-credentials -T <TENANT_ID> Generate tenant access credentials.
vgs logs access -T <TENANT_ID> View tenant access logs.
vgs logs operations -T <TENANT_ID> -R <REQUEST_ID> View request operation logs.

Certificates

Command Purpose
vgs certificate --help Show certificate commands.

Automation with VGS CLI

If you want to use the VGS CLI for automation, create a service account.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vgs_cli-1.34.0.dev1-py3-none-any.whl (74.5 kB view details)

Uploaded Python 3

File details

Details for the file vgs_cli-1.34.0.dev1-py3-none-any.whl.

File metadata

  • Download URL: vgs_cli-1.34.0.dev1-py3-none-any.whl
  • Upload date:
  • Size: 74.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for vgs_cli-1.34.0.dev1-py3-none-any.whl
Algorithm Hash digest
SHA256 5a75b3f6bf36cb4c205547d2fd7a50b07934e030e7d7a3670ce2b6c782945c1a
MD5 98a12f2444b1149a42727d121e074a88
BLAKE2b-256 584b3684b8c74c5de52430fd0165de2e11190e4be6c6905138424cb438fccb34

See more details on using hashes here.

Provenance

The following attestation bundles were made for vgs_cli-1.34.0.dev1-py3-none-any.whl:

Publisher: build-publish.yaml on verygoodsecurity/vgs-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

1.34.0.dev1 This release

1 file

1.33.0

1 file

1.32.0

1 file

1.31.1

1 file

1.31.0

1 file

1.30.20

1 file

1.30.19

1 file

1.30.18

1 file

1.30.17

1 file

1.30.16

1 file

1.30.15

1 file

1.30.13

1 file

1.30.12

1 file

1.30.11

1 file

1.30.10

1 file

1.30.9

1 file

1.30.8

1 file

1.30.7

1 file

1.30.6

1 file

1.30.5

1 file

1.30.4

1 file

1.30.3

1 file

1.30.2

1 file

1.30.1

1 file

1.20.4

1 file

1.20.3

1 file

1.20.2

1 file

1.20.1

1 file

1.20.0

1 file

1.19.0

1 file

1.18.0

1 file

1.17.1

1 file

1.17.0

1 file

1.16.2

1 file

1.16.1

1 file

1.16.0

1 file

1.15.1

1 file

1.15.0

1 file

1.14.3

1 file

1.14.2

1 file

1.14.1

1 file

1.14.0

1 file

1.13.0

1 file

1.12.6

1 file

1.12.5

1 file

1.12.4

1 file

1.12.3

1 file

1.12.2

1 file

1.12.1

1 file

1.12.0

1 file

1.11.1

1 file

1.11.0

1 file

1.10.0

1 file

1.9.5

1 file

1.9.4

1 file

1.9.3

1 file

1.9.2

1 file

1.9.1

1 file

1.9.0

1 file

1.8.2

1 file

1.8.1

1 file

1.8.0

1 file

1.7.3

1 file

1.7.2

1 file

1.7.1

1 file

1.7.0

1 file

1.6.8

1 file

1.6.7

1 file

1.6.6

1 file

1.6.5

1 file

1.6.4

1 file

1.6.3

1 file

1.6.2

1 file

1.6.1

1 file

1.6.0

1 file

1.5.3

1 file

1.5.2

1 file

1.5.1

1 file

1.5.0

1 file

1.4.0

1 file

1.3.0

1 file

1.2.0

1 file

1.1.0

1 file

1.0.2

1 file

1.0.1

1 file

1.0.0

1 file

0.5.0

1 file

0.4.4

1 file

0.4.3

1 file

0.4.2

1 file

0.4.1

1 file

0.4.0

1 file

0.3.0

1 file

0.2.8

1 file

0.2.7

1 file

0.2.6

2 files

0.2.5

2 files

0.2.4

2 files

0.2.3

2 files

0.2.2

1 file

0.2.1

3 files

0.2.0

1 file

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

0.0.1

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page