Skip to content

grayfolk/digitalocean-api-shell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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