CLI command
jeden token add
Persist one labeled provider key for a specific direct endpoint.
Exact invocation#
jeden token add LABEL --endpoint URL [--json]Inputs and options#
- Pipe the secret on standard input. The URL is the provider base URL, HTTPS or loopback HTTP, without embedded credentials, query or fragment; --json returns the new metadata row.
Output and state effect#
Creates an owner-private local store when needed and returns the ID. For example, printf '%s\n' "$PROVIDER_KEY" | jeden token add personal --endpoint https://api.openai.com.
Refusals and boundaries#
- An interactive terminal, blank label or secret, duplicate label, invalid endpoint, or unsafe store is refused without storing the key.
- A command line of the wrong form (an unknown command or option, a missing, unexpected or invalid argument, a missing confirmation) prints the error and the usage and exits
2; a refusal that retrying unchanged can help (a dependency down or not answering, a rate limit) exits69; any other refusal or failure exits1. A refusal a functionality declares ends withfix: …andcause: <operation>.<cause>, andjeden errors show <operation>lists every cause of that functionality.