Vultr
  • 25 Apr 2024
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  This documentation version is deprecated, please click here for the latest version.

Vultr

  • Dark
    Light

Article summary

The Vultr CLI, or vultr-cli, is the official CLI for the Vultr API. With this component of the Cloud CLI extension, you can interact with Vultr directly from LimaCharlie.

This extension makes use of Vultr's official CLI tool, which can be found here. Reference documentation can be found here.

Example

The following example of a response action will enumerate a list of instance within a Vultr account.

- action: extension request
  extension action: run
  extension name: ext-cloud-cli
  extension request:
    cloud: '{{ "vultr-cli" }}' 
    command_line: '{{ "instance list" }}'
    credentials: '{{ "hive://secret/secret-name" }}'

Credentials

To utilize vultr-cli capabilities, you will need:

  • A personal access token. To create one, click here.

  • Your access token will need to have access control open to IPv6
    Screenshot 2024-04-25 at 10.31.29 AM.png

  • Create a secret in the secrets manager in the following format:

    personalAccessToken
    

Was this article helpful?