tare/identity/edit/local-vars/set
tare identity edit local-vars set
Set one or more entries
Usage:
tare identity edit local-vars set [KEY=VALUE ...] [flags]
Examples:
# Read from a file โ recommended when value contains '=' (e.g. OTEL auth headers)
# otel.env:
# OTEL_EXPORTER_OTLP_ENDPOINT=http://otel-collector:4318
# OTEL_EXPORTER_OTLP_HEADERS=Authorization=Bearer <your-token>
tare identity edit --file my.identity.json local-vars set --from-file otel.env
# Or inline
tare identity edit --file my.identity.json local-vars set \
OTEL_EXPORTER_OTLP_HEADERS="Authorization=Bearer <your-token>"
Flags:
--from-file string Read KEY=VALUE entries from a file (one per line, # comments allowed)
Global Flags:
-f, --file string Path to the identity JSON file (default: identity.json)