strazactl users create-nhi
Provision an AI agent or a service account (headless, no password, key-based)
On this page
Synopsis
Provision an identity with no password and no interactive login. --type is required: agent is an AI agent that acts for a person, and service is a technical account with no agency. Neither can sign in to strazactl or the console. Register its key next with strazactl users nhi-key set, after straza keygen prints it on the agent’s machine.
strazactl users create-nhi <username> --type agent|service [flags]
Options
--display string the name people see for this identity
--type string agent or service (required)
Options inherited from parent commands
--server string strazad base URL (overrides $STRAZA_SERVER and the server you logged into)
See also
- strazactl users: Manage users