npm install -g @authaction/cli

AuthAction CLI

Manage your tenants, applications, users, roles, connections, and more — all from the terminal. Script, automate, and integrate AuthAction into any workflow.

Get started in seconds

Install

npm install -g @authaction/cli

Authenticate

$ authaction login
Opening browser for authentication...
Logged in as you@example.com

Select a tenant

$ authaction use-tenant my-tenant
Active tenant set to my-tenant

Start managing

# List users
$ authaction users list
ID     Name         Email
────   ────────────   ─────────────────
usr_1   Alice Smith    alice@example.com
usr_2   Bob Jones     bob@example.com

# Create a role
$ authaction roles create --name admin --description "Admin role"
Role admin created.

Commands

Everything you need to manage AuthAction from the terminal

Tenants

Create and manage tenants, switch active context.

tenants list tenants create use-tenant

Applications

Register and configure your OAuth2 applications.

applications list applications create applications get

Users

List, create, update, and delete users.

users list users create users delete

Roles

Define and assign roles for access control.

roles list roles create roles assign

Connections

Manage social and enterprise identity connections.

connections list connections create

Organizations

Create and manage multi-tenant organizations.

organizations list organizations create

API Servers

Register API servers and configure scopes.

api-servers list api-servers create

Emails & SMTP

Configure SMTP settings and send test emails.

smtp configure emails send

Plans & Members

Manage subscription plans and tenant members.

plans list tenant-members list

Built for developer workflows

Automate, script, and integrate AuthAction management into any pipeline

Script anything

Pipe commands, use --json output mode, and chain with any shell tooling. Automate tenant setup, user provisioning, and role assignment in CI/CD.

Multi-region aware

Target any AuthAction region (AU, CA, CN, EU, IN, JP, US) per command with the --region flag, or set a default in your config.

Secure by default

Authenticates via browser-based OAuth2 flow. Tokens are stored locally and never transmitted in plain text. MIT licensed and open source.

Ready to manage AuthAction from the terminal?

Install the CLI in seconds. No config files required to get started.

npm install -g @authaction/cli