CLI command

skarbiec enroll

Register this vault owner's public key with a source and request sharing of selected items to that replica identity.

Invocation#

Shell
skarbiec enroll --as <uid> --to <base-url> --token <bearer> [--items <id,...>] [--consumer <name>]

Purpose#

Register this vault owner's public key with a source and request sharing of selected items to that replica identity.

Required inputs and options#

  • Requires --as, --to, and --token. --consumer defaults to enroll; --items optionally names exact items.

Output and state effects#

  • Exports the local owner public key, posts it and requested ids to /v1/enroll, appends audit, and prints the source response.

Refusals#

  • Refuses a missing local owner fingerprint, key-export failure, or remote enroll authorization; the source skips items it cannot share under its rules.