# komrad token

Print an ID token for an engine reached at its url

[komrad](https://komrad.dev/latest/cli.md)

```bash
komrad token
```

Print an ID token for an engine reached at its url, renewing the sign-in when it is near its end.

The token is what every command sends the engine, so a script can call the engine's api with it as a bearer token.

## Inherited flags

| Flag | Type | Description |
| --- | --- | --- |
| [`--config`](https://komrad.dev/latest/cli/token.md#inherited-config) | stringArray | path to a config TOML, repeatable, later files win over earlier ones |
| [`--engine`](https://komrad.dev/latest/cli/token.md#inherited-engine) | string | engine to reach: local for this machine, or a file in the config's engines directory, layered over the config |
