iam

command
v1.31.12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 3, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Command iam is the administrative CLI for Hanzo IAM.

Usage:

iam status                              Check IAM server health
iam version                             Print version and exit
iam app list [--owner=<slug>] [--json]  List applications
iam app get <client-id> [--json]        Get one application by client ID
iam app upsert <file.json>              Idempotent upsert from JSON
iam app delete <client-id>              Delete an application
iam app redirect add <id> <url>...      Add redirect URIs (idempotent)
iam app redirect list <id> [--json]     List redirect URIs
iam app redirect remove <id> <url>      Remove a redirect URI
iam user list [--owner=<slug>] [--json] List users
iam user get <owner> <name> [--json]    Get one user
iam user create <file.json>             Create a user
iam org list [--json]                   List organizations
iam org create <file.json>              Create an organization
iam org delete <name>                   Delete an organization

Provisioning subcommands (run as one-shot Kubernetes Jobs; authenticate via the admin app's IAM_CLIENT_ID/IAM_CLIENT_SECRET + IAM_ENDPOINT, NOT --token):

iam init-apps                           Reconcile per-brand orgs + desktop apps
iam init-providers                      Upsert admin-org OAuth/SMS/Email/Web3 providers
iam wire-providers                      Attach admin providers to every real-org app
iam clean-spam-orgs [--apply]           Prune spam orgs (dry-run by default)

See docs/CLI.md for the full reference.

Directories

Path Synopsis
Package cli is the cobra command surface for the `iam` administrative CLI.
Package cli is the cobra command surface for the `iam` administrative CLI.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL