# Authenticate with an API key

Collection: cli
Human docs: https://zei.sh/docs/cli

Authenticate the CLI with an API key.

Command: zeishctl auth api-key TOKEN --store
Use ZEISH_API_KEY for automation. Add --store only when the local config should retain the key.

Example:

```
zeishctl auth api-key TOKEN --store
```
