Skip to content

xops credential store restore

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

text
For new key-file wrapping material, a missing configured key_file is generated as 32 random bytes with mode 0600. Existing valid key files are reused without changes. The parent directory must exist. Unlock and resume require the original key file.

Usage:
  xops credential store restore <storeID> [flags]

Flags:
      --backup-config string           Trusted schema-v2 backup configuration (required)
      --from string                    Explicit source vault working directory
  -h, --help                           help for restore
      --json                           Print metadata-only JSON result
      --maintenance-timeout duration   Total maintenance deadline (default 30m0s)
      --source-key-file string         Source key file path
      --source-unlock string           Source mode: prompt or key-file

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