Skip to content

Latest commit

 

History

History
22 lines (18 loc) · 1.21 KB

README.md

File metadata and controls

22 lines (18 loc) · 1.21 KB

Digitalocean API shell

Console utility for working with DigitalOcean API

Requirements

Installation

  • Run composer create-project grayfolk/digitalocean-api-shell.
  • Go to digitalocean-api-shell folder and edit accounts.json. This is a simple JSON file with "username" : "API Key" pairs. You can use whatever username is convenient for you - it's not related to DigitalOcean and used as alias only (but it shoud be unique) and real DigitalOcean API key. You can obtain API key in your DigitalOcean Account - API - Personal access tokens - Generate New Token.

Running

Go to digitalocean-api-shell folder and run ./do.
By default utility will be runned in dry mode, any changes will not be applied. For working mode use -w option: ./do -w.

Features

  • Move Domain to another account
  • Backup Domain(s) zone file
  • Create new Domain from zone file