Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Namecheap

A Namecheap account is declared under meta.registrants.namecheap, keyed by an account name. It takes the commands that produce its API key and its API user:

meta.registrants.namecheap.<account> = {
  apiKeyCommand = "pass show dns/namecheap/api-key";
  userCommand = "pass show dns/namecheap/user";
};

Both fields are local commands whose output is the credential, so nothing sensitive is written into the Hive:

  • apiKeyCommand outputs the API key.
  • userCommand outputs the API user the key belongs to.

With the account declared, DNS records for its domains are created and updated as part of navi provision, the same as any other registrar.