Skip to content

Use SQL to instantly query Namecheap for domains, DNS host records & more. Open source CLI. No DB required.

License

Notifications You must be signed in to change notification settings

turbot/steampipe-plugin-namecheap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

image

Namecheap Plugin for Steampipe

Use SQL to query models, completions and more from Namecheap.

Quick start

Install

Download and install the latest Namecheap plugin:

steampipe plugin install namecheap

Configure your credentials and config file.

Configure your account details in ~/.steampipe/config/namecheap.spc:

connection "namecheap" {
  plugin = "namecheap"

  # Authentication information
  username  = "janedoe"
  api_key   = "33d0d62a6a163083ba7b3bab31bd6612"
}

Or through environment variables:

export NAMECHEAP_USERNAME=janedoe
export NAMECHEAP_API_KEY=33d0d62a6a163083ba7b3bab31bd6612

Run steampipe:

steampipe query

List domains in your Namecheap account:

select
  domain,
  expires
from
  namecheap_domain
order by
  domain;
+--------------+---------------------------+
| domain       | expires                   |
+--------------+---------------------------+
| steampipe.io | 2025-04-19T20:00:00-04:00 |
| turbot.com   | 2024-03-07T20:00:00-04:00 |
+--------------+---------------------------+

Developing

Prerequisites:

Clone:

git clone https://github.com/turbot/steampipe-plugin-namecheap.git
cd steampipe-plugin-namecheap

Build, which automatically installs the new version to your ~/.steampipe/plugins directory:

make

Configure the plugin:

cp config/* ~/.steampipe/config
vi ~/.steampipe/config/namecheap.spc

Try it!

steampipe query
> .inspect namecheap

Further reading:

Contributing

Please see the contribution guidelines and our code of conduct. All contributions are subject to the Apache 2.0 open source license.

help wanted issues: