Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

Auth0 CLI

$ auth0 Official High Risk
Auth0 · Workspace & SaaS · MIT · macos / linux / windows

Auth0 CLI (auth0) lets developers and agents inspect tenants, applications, APIs, Actions, and logs directly from the terminal. Consistent --json, --no-input, and --no-color flags make it strongly automation-ready, though tenant changes carry high IAM risk.

FCRS-1.0 Score
84 /100
Good
Medium Confidence
Zero-Friction Install
brew install auth0/auth0-cli/auth0
CLI vs MCP Decision CLI Preferred vs MCP

Auth0 CLI offers complete Management API coverage, local auth0 test token generation, and Action testing in one deterministic Go binary.

Agent-Readiness Checklist

✓ JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
✓ NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 22 / 25

First-class --json, --no-input, and --no-color flags across commands keep agent automation clean and deterministic.

  • Global --json, --no-input, --no-color flags
  • Structured Cobra command hierarchy
Trust & Safety 19 / 25

Supports M2M client credentials for headless scoping, but tenant mutations affect authentication security and lack --dry-run.

  • Separate tenant profiles via auth0 tenants use
  • Write commands mutate IAM state immediately without dry-run
Setup & Portability 13 / 15

Single Go binary installable via Homebrew tap, go install, Docker, or GitHub releases.

  • Official Homebrew tap and cross-platform binaries
Utility & Efficiency 13 / 15

High leverage for inspecting apps, APIs, Actions, logs, and minting test tokens.

  • Includes auth0 test token and auth0 logs tail utilities
Maintenance & Lineage 9 / 10

Official Auth0 repository (auth0/auth0-cli) actively maintained under MIT.

  • Official Auth0 GitHub organization
Docs & Verifiability 8 / 10

Dedicated GitHub Pages CLI reference plus built-in --help examples.

  • Official docs at auth0.github.io/auth0-cli

Security, Auth & Guardrails

Auth Modes
OAuth Browser Env API Key Config File
Credential Storage

Stores tenant refresh tokens in ~/.config/auth0/config.json, or authenticates headlessly via AUTH0_DOMAIN, AUTH0_CLIENT_ID, and AUTH0_CLIENT_SECRET.

Side Effects
Read-Only Remote Write Destructive
Cost & Quotas

CLI is free (MIT); Auth0 offers a free developer tier for test tenants.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# Auth0 CLI Agent Rules
- Verify `auth0 tenants list` points to a dev/staging tenant before running any write command.
- Always pass `--json --no-input` to prevent interactive prompts or ANSI clutter.
- Require explicit human approval before modifying production tenants, deleting clients, or revealing client secrets.

Agent-Ready Command Recipes

Safe Read-Only Queries

List configured Auth0 tenants
auth0 tenants list --json --no-input

Lists locally configured Auth0 tenants and active default tenant in JSON.

Inspect Auth0 applications
auth0 apps list --json --no-input --no-color

Retrieves application client IDs and types without mutating tenant configuration.

Controlled Writes & Previews

Register a staging API resource
auth0 apis create --name "Staging API" --identifier https://staging.example.com --json --no-input

Creates a new API audience in a staging tenant with non-interactive JSON output.

Strengths for Agents

  • + Clean Cobra CLI with consistent --json, --no-input, and --no-color global flags.
  • + Supports headless M2M authentication via AUTH0_DOMAIN, AUTH0_CLIENT_ID, and AUTH0_CLIENT_SECRET.
  • + Built-in auth0 test token accelerates local API auth testing.

Caveats & Pitfalls

  • ! Read output for auth0 apps list --json may include non-secret metadata, but --reveal-secrets should be blocked in agent logs.
  • ! No --dry-run flag on create or update subcommands.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI