@alter-ai/cli
v0.3.3
Published
Command-line interface for the Alter Vault dev portal — scripted dashboard automation.
Readme
@alter-ai/cli
Command-line client for the Alter Vault dev portal. Authenticates with a Personal Access Token (PAT) and exposes the dashboard's resource model as scriptable commands.
📖 Full docs: docs.alterauth.com/reference/cli
Install
npm install -g @alter-ai/cli
alter --versionSign in
alter auth login # interactive browser flow
ALTER_PAT=alter_pat_... alter apps list # headless / CICommands
auth login | status | logout
apps list | create | show | update | archive | unarchive | delete
keys list | mint | show | rotate | revoke | rename
agents list | create | show | update | revoke (+ mint-key, list-keys, revoke-key)
providers list | list-catalog | create | show | update | delete
managed-secrets list | show | create | rotate | delete | templates | access |
set-delegation-policy | users |
grants {list, list-for-agent, create, update, revoke} |
groups {list, show}
policy show-app
audit list | show | portal-actions | grant-events | traces
pats whoami
link / unlink pin an app to the current directory
completion install | print
self-update --to <v>
sdk-passthrough request <grant-id> --url <url>All commands accept --output=json|table|jsonl and --fields a,b,c. See scripting for exit codes and CI patterns, and authentication for token storage details.
License
MIT
