CLI command

skarbiec restore-version

Create a new current revision from the historical revision identified by its timestamp.

Invocation#

Shell
skarbiec restore-version <id> <at>

Purpose#

Create a new current revision from the historical revision identified by its timestamp.

Required inputs and options#

  • Requires an item id and exact historical at timestamp.

Output and state effects#

  • Restores that encrypted historical payload as the current version and prints { ok: true }.

Refusals#

  • Refuses direct owner rotation of lifecycle-controlled items and fails when no matching revision can be restored.