Skip to content

DigitalOcean

The DigitalOcean CLI, or doctl, is the official CLI for the DigitalOcean API. With this component of the Cloud CLI Extension, you can interact with DigitalOcean directly from LimaCharlie.

This extension uses DigitalOcean's official doctl CLI tool. Reference documentation is also available.

Example

The following example of a response action will enumerate a list of compute droplets within a DigitalOcean instance.

- action: extension request
  extension action: run
  extension name: ext-cloud-cli
  extension request:
    tool: '{{ "doctl" }}'
    command_line: '{{ "compute droplet list" }}'
    credentials: '{{ "hive://secret/secret-name" }}'

Credentials

To utilize doctl capabilities, you will need:

personalAccessToken