CLI command

skarbiec migrate

Copy live items between vaults by decrypting locally and re-encrypting to the target's recipients.

Invocation#

Shell
skarbiec migrate --from <source-vault> --to <target-vault> [--force]

Purpose#

Copy live items between vaults by decrypting locally and re-encrypting to the target's recipients.

Required inputs and options#

  • Requires different --from and --to vault files. --force permits replacing eligible ids already in the target; otherwise they are skipped.

Output and state effects#

  • Writes target-owned revisions and prints from, to, force, migrated metadata, and skipped ids without values.

Refusals#

  • Refuses the same source and target, unreadable source items, and replacement of credential-lifecycle, Weles-managed, or otherwise non-owner-controlled target items even with --force.