indigo is a WebARENA Indigo API client written in Go.
To install indigo
, you can run the command below.
go install github.com/dytlzl/indigo@latest
And you also have to create a credential file contains a content like below as $HOME/.indigo.yaml
.
credential:
key: <API Key>
secret: <API Secret>
$ indigo get instances
NAME STATUS AGE IP OS PLAN
node00 Running 17d xxx.xxx.xxx.xxx Ubuntu20.04 2CR2GB
node01 Running 17d xxx.xxx.xxx.xxx Ubuntu20.04 2CR2GB
node02 Running 17d xxx.xxx.xxx.xxx Ubuntu20.04 2CR2GB
node03 Running 17d xxx.xxx.xxx.xxx Ubuntu20.04 2CR2GB
$ indigo get firewalls
NAME AGE
default 30d
outbound 15d