Gandi + Steampipe
Gandi is a registrar and an hosting company.
Steampipe is an open source CLI to instantly query cloud APIs using SQL.
For example:
select fqdn, tld, ownerfrom gandi_domain
+--------------------+------+---------------+| fqdn | tld | owner |+--------------------+------+---------------+| caresteouvert.fr | fr | francois2metz || 2metz.fr | fr | francois2metz |+--------------------+------+---------------+
Documentation
Get started
Install
Download and install the latest Gandi plugin:
steampipe plugin install francois2metz/gandi
Configuration
Installing the latest gandi plugin will create a config file (~/.steampipe/config/gandi.spc
) with a single connection named gandi
:
connection "gandi" { plugin = "francois2metz/gandi"
# The API Key (get it on your account: https://account.gandi.net/) # key = "YOUR_GANDI_API_KEY"}
You can also use environment variables:
GANDI_KEY
: Your Gandi API Key