# strazactl users create-nhi

Provision an AI agent or a service account (headless, no password, key-based)


## 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 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)
```

## See also

* [strazactl users](https://docs.straza.ai/reference/cli/strazactl/strazactl_users/index.md): Manage users



