skills/cli/umbraco-auth/SKILL.md
Persistent authentication helpers
npx skillsauth add albanist/umbraco_cli umbraco-authInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
PREREQUISITE: Read
../umbraco-shared/SKILL.mdfor auth, global flags, and security rules.
umbraco auth <command> [flags]
| Command | Description |
|---------|-------------|
| auth status | Show the current auth/config status without exposing secrets |
umbraco auth status
| Flag | Type | Default | Description |
|------|------|---------|-------------|
| --check | bool | false | List command permission requirements for the resolved user context |
Safety: Always use
--dry-runfirst. Remove the flag only after verifying the dry-run output.
| Command | Description |
|---------|-------------|
| auth login | Store Umbraco API credentials in the user config after verifying them |
| auth logout | Remove stored credentials from the user config |
umbraco auth login
| Flag | Type | Default | Description |
|------|------|---------|-------------|
| --base-url | string | — | Umbraco base URL |
| --client-id | string | — | Management API client ID |
| --client-secret | string | — | Management API client secret |
| --dry-run | bool | false | Verify credentials without persisting them |
Safe pattern:
# 1. Dry run first
umbraco auth login --dry-run
# 2. Execute
umbraco auth login
umbraco auth logout
| Flag | Type | Default | Description |
|------|------|---------|-------------|
| --dry-run | bool | false | Preview logout without modifying the user config |
Safe pattern:
# 1. Dry run first
umbraco auth logout --dry-run
# 2. Execute
umbraco auth logout
# Browse subcommands
umbraco auth --help
# Inspect a specific endpoint schema
umbraco schema auth.<method>
tools
Front-office member operations (login, profile, groups)
tools
Member group lookups (for 'member set-groups' GUID discovery)
development
Trigger and inspect ModelsBuilder source generation
tools
Umbraco Forms operations (read-only)