Manage identity from your terminal
The Authdog CLI gives you full control over environments, users, roles, and configurations without leaving your terminal. Automate provisioning, script deployments, and integrate identity management into your CI/CD pipelines.
curl https://cli.auth.dog/install -fsS | bashCapabilities
Everything you need, one command away
From user management to environment configuration, the CLI puts your full Authdog workspace at your fingertips.
Environment Management
Create, configure, and switch between environments. Promote settings from staging to production with a single command.
User & Group Operations
List, invite, deactivate, and manage users and groups. Bulk import users from CSV or JSON for fast onboarding.
Roles & Permissions
Define roles, assign permissions, and manage access control policies. Audit your RBAC configuration without opening a browser.
CI/CD Integration
Automate tenant provisioning, secret rotation, and environment setup in GitHub Actions, GitLab CI, or any pipeline.
Configuration as Code
Export and import environment configurations as YAML or JSON. Version-control your identity setup alongside your application code.
Interactive & Scriptable
Interactive prompts for exploration, structured JSON output for scripts. Pipe output to jq, grep, or any Unix tool.
Developer experience
Script, automate, and deploy
The CLI is designed for both interactive use and automation. Structured JSON output makes it easy to compose with your existing toolchain.
- Manage environments, users, and roles from your terminal
- Bulk import users from CSV or JSON files
- Service account authentication for CI/CD pipelines
- Pipe JSON output to jq, grep, or downstream scripts
# List all environments
$ authdog environments list \
--tenant my-org --project my-app
# Create a new staging environment
$ authdog environments create \
--tenant my-org --project my-app \
--name "Staging" \
--description "Pre-production testing"
# Promote config from staging to production
$ authdog environments promote \
--project my-app \
--from staging --to productionWhy a CLI for identity management
Web dashboards work for exploration, but scaling identity operations demands automation. A CLI bridges the gap between manual setup and infrastructure-as-code.
Less time on manual provisioning tasks
Point-and-click provisioning doesn't scale. Teams that automate tenant and environment setup through a CLI reclaim hours every week.
Fewer configuration drift incidents
Manual changes across environments lead to inconsistencies. Exporting config as code and applying it through a CLI eliminates drift.
Faster developer onboarding to identity tooling
Developers already live in the terminal. A CLI that matches their workflow reduces context-switching and shortens the learning curve.
Your identity stack, scriptable.
Install the CLI, authenticate with your API key, and start managing environments, users, and access control from your terminal.