docs

ix secret

ix secret set

Store or rotate a secret. The value is read from a hidden prompt, stdin, or --value-file; it is never taken on the command line and is never shown back after storing

Usage: ix secret set [OPTIONS] <NAME>

arguments

  • <NAME> Secret store key (lower snake_case, e.g. openrouter_api_key)

options

  • --value-file <PATH> Read the value from this local file instead of prompting
  • --message-format <MESSAGE_FORMAT> Error format one of: human, short, json default: human