majordomo CLI lets you authenticate, manage API keys, and administer self-hosted Steward instances without leaving the terminal.
Install
Install with Homebrew:Global flags
Authentication
login
Opens a browser window, completes the OAuth flow, and stores your token locally at~/.majordomo/config.yaml.
logout
Removes stored credentials.whoami
Shows the currently authenticated user.API keys
Manage the Majordomo API keys (mdm_sk_...) used to authenticate gateway requests.
keys create
The key value is shown once at creation and cannot be retrieved afterward. Store it in your secrets manager immediately.
keys list
keys revoke
Stewards
Manage self-hosted Steward instances registered to your account. Each Steward gets a token (mdm_st_...) it uses to authenticate with Butler.
stewards create
The token is shown once at creation. Pass it to your Steward instance as
MAJORDOMO_STEWARD_TOKEN.