--key on every command.
Options
| Option | Description |
|---|---|
--key <api-key> | Set a key directly without interactive selection |
Interactive flow
When run without--key, the CLI shows your locally stored keys first. You can pick one, fetch keys from the server, or paste a new key manually.
Non-interactive usage
How key resolution works
Commands that require an API key (cards, cardholders) resolve the key in this order:
--keyflag passed to the command- Active key stored locally (set via
keys set,keys create, orkeys rotate) - Interactive selection from stored keys (if multiple exist)
- Paste prompt as a fallback