STRAZAdocs

strazactl

Straza admin CLI

Synopsis

A command that talks to strazad goes to --server, else $STRAZA_SERVER. It sends the admin API token in STRAZA_API_TOKEN, which a person mints in the console under Settings, API tokens, with the scope the commands need and an expiry. strazactl has no sign-in of its own. When the identity provider cannot sign anyone in, the break-glass admin uses Emergency sign-in on the console’s sign-in page and mints a token there. strazactl status sends no credential and needs the server alone.

Every command exits 0 when it did its job and 1 when it did not. An unknown verb exits 1 too. strazactl drafts and strazactl policy diff name other exit codes in their help. A retired verb exits 2 and names what replaced it.

Options

      --server string   strazad base URL (overrides $STRAZA_SERVER)

Commands

Search documentation

Search page titles, commands, and article text.

↑ ↓ Choose resultEnter OpenEsc Close