# strazactl api-token create

Mint a long-lived admin API token (shown exactly once)


```
strazactl api-token create [flags]
```

## Options

```
      --name string     token label (which system uses it)
      --scope strings   area:verb scope, repeatable or comma-joined (areas: identity, sessions, policy, apps, audit, transcripts, approvals, config, tokens, changes, scim, drafts), or "full" (root credential)
      --ttl duration    token lifetime (e.g. 720h); 0 = never expires
```

## Options inherited from parent commands

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

## See also

* [strazactl api-token](https://docs.straza.ai/reference/cli/strazactl/strazactl_api-token/index.md): Manage long-lived admin API tokens, the one credential for automation, connectors and an identity manager's SCIM push



