Skip to content

xops identity set-secret ​

Command usage and available options are listed below. Check --help for options supported by your installed version.

text
Store a secret credential (password, passphrase, totp_secret, challenge_answer) for an identity

Usage:
  xops identity set-secret [name] [flags]

Flags:
  -h, --help             help for set-secret
      --kind string      Credential secret kind (login_password, passphrase, totp_secret, challenge_answer) (default "login_password")
      --password-stdin   Read password securely from stdin to avoid exposure in command arguments
      --rule string      Challenge rule name (required when kind is challenge_answer)
      --store string     Target credential store ID (leave empty for default store)

Global Flags:
      --color string       ANSI color output (auto=detect pipe/redirect, never=disable, always=force enable)
      --debug              Enable debug mode (equivalent to --log-level=debug)
      --lang string        Interface language (zh/en)
      --log-level string   Set internal diagnostic log level (debug, info, warn, error)

MIT License